Add support for python2.5's elementtree
Bug #175681 reported by
Emilio Pozuelo Monfort
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
andvare |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The current code in valgrind.py tries to import elementtree, but it will only work if it's installed externally.
However, since python 2.5 it's installed as a built in module, but that syntax doesn't work for it.
This patch adds support for it.
This specially useful if you use python 2.5 since this can avoid a dependency on python-xml, which is external.
Changed in andvare: | |
status: | New → Fix Released |
To post a comment you must log in.
Thanks for the bug report.
I've solved the problem by importing a piece of code from another project of mine.