/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_serializer.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-06-12 17:02:29 UTC
  • mfrom: (3475.1.2 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080612170229-8h3mrl35jgqhs0gt
(jam) Make sure we always have access to the elementtree.ElementTree
        module.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
    except ImportError:
35
35
        from cElementTree import (ElementTree, SubElement, Element,
36
36
                                  XMLTreeBuilder, fromstring, tostring)
37
 
        import elementtree
 
37
        import elementtree.ElementTree
38
38
    ParseError = SyntaxError
39
39
except ImportError:
40
40
    mutter('WARNING: using slower ElementTree; consider installing cElementTree'