[jhbuild] Import expat for .parse exception handling (GNOME bug 647431)



commit 06d66acdebb467bbffa1028a3bacc4fe51c63397
Author: Craig Keogh <cskeogh adam com au>
Date:   Mon Apr 11 21:10:29 2011 +0930

    Import expat for .parse exception handling (GNOME bug 647431)

 jhbuild/moduleset.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/jhbuild/moduleset.py b/jhbuild/moduleset.py
index 8c5a801..a82e34e 100644
--- a/jhbuild/moduleset.py
+++ b/jhbuild/moduleset.py
@@ -29,6 +29,7 @@ from jhbuild.errors import UsageError, FatalError, DependencyCycleError, \
 
 try:
     import xml.dom.minidom
+    import xml.parsers.expat
 except ImportError:
     raise FatalError(_('Python xml packages are required but could not be found'))
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]