The problem is indeed in bzrlib/xml_serializer.py, line 33 (in bzr 1.11 and 1.13, at least).
Changing that import statement from:
> import xml.etree as elementtree
to:
> import xml.etree.cElementTree as elementtree
Fixes the error. I'll spin a patch for this if needed, but can't right now.
I think the except clause immediately below that is also buggy, too, but again, can't really test that right now and I'm using Python 2.5, which is probably why isn't a problem for me.
The problem is indeed in bzrlib/ xml_serializer. py, line 33 (in bzr 1.11 and 1.13, at least).
Changing that import statement from:
> import xml.etree as elementtree
to:
> import xml.etree. cElementTree as elementtree
Fixes the error. I'll spin a patch for this if needed, but can't right now.
I think the except clause immediately below that is also buggy, too, but again, can't really test that right now and I'm using Python 2.5, which is probably why isn't a problem for me.