Rev 3477: Fix missing import in http://bzr.arbash-meinel.com/branches/bzr/jam-integration
John Arbash Meinel
john at arbash-meinel.com
Thu Jun 12 16:55:01 BST 2008
At http://bzr.arbash-meinel.com/branches/bzr/jam-integration
------------------------------------------------------------
revno: 3477
revision-id: john at arbash-meinel.com-20080612155115-0wd59iyv2njaigx7
parent: j at oil21.org-20080605121314-kv2l34nc1knvj7q5
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: jam-integration
timestamp: Thu 2008-06-12 10:51:15 -0500
message:
Fix missing import
-------------- next part --------------
=== modified file 'bzrlib/xml_serializer.py'
--- a/bzrlib/xml_serializer.py 2008-03-28 02:10:23 +0000
+++ b/bzrlib/xml_serializer.py 2008-06-12 15:51:15 +0000
@@ -34,7 +34,7 @@
except ImportError:
from cElementTree import (ElementTree, SubElement, Element,
XMLTreeBuilder, fromstring, tostring)
- import elementtree
+ import elementtree.ElementTree
ParseError = SyntaxError
except ImportError:
mutter('WARNING: using slower ElementTree; consider installing cElementTree'
More information about the bazaar-commits
mailing list