~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml_serializer.py

  • Committer: Tarmac
  • Author(s): Vincent Ladeuil
  • Date: 2017-01-30 14:42:05 UTC
  • mfrom: (6620.1.1 trunk)
  • Revision ID: tarmac-20170130144205-r8fh2xpmiuxyozpv
Merge  2.7 into trunk including fix for bug #1657238 [r=vila]

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    import xml.etree.cElementTree as elementtree
31
31
    ParseError = getattr(elementtree, "ParseError", SyntaxError)
32
32
except ImportError:
33
 
    # Fall back to pure python implementation if C extention is unavailable
 
33
    # Fall back to pure python implementation if C extension is unavailable
34
34
    import xml.etree.ElementTree as elementtree
35
35
    try:
36
36
        from xml.etree.ElementTree import ParseError