~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revision.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:
18
18
 
19
19
 
20
20
from xml import XMLMixin
21
 
from ElementTree import Element, ElementTree, SubElement
 
21
 
 
22
try:
 
23
    from cElementTree import Element, ElementTree, SubElement
 
24
except ImportError:
 
25
    from elementtree import Element, ElementTree, SubElement
 
26
 
22
27
 
23
28
class Revision(XMLMixin):
24
29
    """Single revision on a branch.