[Bug 743293] validate: launcher: Use cElementTree for XML parsing

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jan 21 06:37:04 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=743293
  GStreamer | gst-devtools | git master

Thibault Saunier <tsaunier> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #295093|none                        |needs-work
             status|                            |

--- Comment #2 from Thibault Saunier <tsaunier at gnome.org> 2015-01-21 14:37:03 UTC ---
Review of attachment 295093:
 --> (https://bugzilla.gnome.org/review?bug=743293&attachment=295093)

::: validate/launcher/baseclasses.py
@@ +36,3 @@
+    import xml.etree.cElementTree as ET
+except ImportError:
+    import xml.etree.ElementTree as ET

It looks like it is distributed with python since python 2.5 so you can just
import it unconditionnally

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list