~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml_serializer.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
        from xml.etree.cElementTree import (ElementTree, SubElement, Element,
32
32
            XMLTreeBuilder, fromstring, tostring)
33
33
        import xml.etree as elementtree
34
 
        # Also import ElementTree module so monkey-patching below always works
35
 
        import xml.etree.ElementTree
36
34
    except ImportError:
37
35
        from cElementTree import (ElementTree, SubElement, Element,
38
36
                                  XMLTreeBuilder, fromstring, tostring)