~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml.py

  • Committer: Martin Pool
  • Date: 2005-07-16 00:07:40 UTC
  • mfrom: (909.1.5)
  • Revision ID: mbp@sourcefrog.net-20050716000740-f2dcb8894a23fd2d
- merge aaron's bugfix branch
  up to abentley@panoramicfeedback.com-20050715134354-78f2bca607acb415

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
# importing this module is fairly slow because it has to load several ElementTree bits
24
24
try:
25
 
    from util.cElementTree import ElementTree, SubElement, Element
 
25
    from cElementTree import ElementTree, SubElement, Element
26
26
except ImportError:
27
 
    from util.elementtree.ElementTree import ElementTree, SubElement, Element
 
27
    from elementtree.ElementTree import ElementTree, SubElement, Element
28
28
 
29
29
 
30
30
def pack_xml(o, f):