/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/xml.py

  • Committer: Martin Pool
  • Date: 2005-09-16 07:03:16 UTC
  • Revision ID: mbp@sourcefrog.net-20050916070316-29f4b33b6f86fdc3
- cElementTree is typically not installed in util

  this was probably causing it to not be imported in many cases

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
from bzrlib.trace import mutter, warning
26
26
 
27
27
try:
28
 
    from util.cElementTree import (ElementTree, SubElement, Element,
29
 
                                   XMLTreeBuilder, fromstring, tostring)
 
28
    from cElementTree import (ElementTree, SubElement, Element,
 
29
                              XMLTreeBuilder, fromstring, tostring)
30
30
except ImportError:
31
31
    from warnings import warn
32
32
    warn('using slower ElementTree; consider installing cElementTree')