~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml.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:
17
17
 
18
18
"""XML externalization support."""
19
19
 
20
 
# "XML is like violence: if it doesn't solve your problem, you aren't
21
 
# using enough of it." -- various
22
 
 
23
20
 
24
21
__copyright__ = "Copyright (C) 2005 Canonical Ltd."
25
22
__author__ = "Martin Pool <mbp@canonical.com>"
27
24
try:
28
25
    from cElementTree import Element, ElementTree, SubElement
29
26
except ImportError:
30
 
    from elementtree.ElementTree import Element, ElementTree, SubElement
 
27
    from elementtree import Element, ElementTree, SubElement
31
28
 
32
29
import os, time
33
30
from trace import mutter