Add support for python2.5's elementtree

Bug #175681 reported by Emilio Pozuelo Monfort
2
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.

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :
Revision history for this message
Johan Dahlin (jdahlin-deactivatedaccount) wrote :

Thanks for the bug report.

I've solved the problem by importing a piece of code from another project of mine.

Changed in andvare:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.