AttributeError: 'module' object has no attribute 'ElementTree'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Thu Apr 28 12:38:43 2011] [error] [client 83.238.74.161] File ".../bzrlib/
[Thu Apr 28 12:38:43 2011] [error] [client 83.238.74.161] elementtree.
[Thu Apr 28 12:38:43 2011] [error] [client 83.238.74.161] AttributeError: 'module' object has no attribute 'ElementTree'
The problem is that depending on where elementtree was imported from, (xml.etree or elementteree, etc.) the elementtree.
ElementTree.
gets rid of this particular problem, but I will not even comment why bzrlib is monkey-pacthing ElementTree and leaving it like that for all other code to fumble on it.
Old bug, already fixed.