~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

  • Committer: mbp at sourcefrog
  • Date: 2005-03-09 06:19:37 UTC
  • Revision ID: mbp@sourcefrog.net-20050309061937-5c44d42fc9c8fd3a
depend only on regular ElementTree installation

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
import sys, os.path, types
25
25
from sets import Set
26
26
 
 
27
try:
 
28
    from cElementTree import Element, ElementTree, SubElement
 
29
except ImportError:
 
30
    from elementtree import Element, ElementTree, SubElement
 
31
 
27
32
from xml import XMLMixin
28
 
from ElementTree import ElementTree, Element
29
33
from errors import bailout
30
34
from osutils import uuid, quotefn, splitpath, joinpath, appendpath
31
35
from trace import mutter