[yum-commits] Branch 'yum-3_2_X' - yum/misc.py

James Antill james at osuosl.org
Thu Jun 3 14:39:43 UTC 2010


 yum/misc.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 4b09b1cd7308f1a6df8f6279549efc23faa84f67
Author: James Antill <james at and.org>
Date:   Thu Jun 3 10:39:36 2010 -0400

    Fix typo in cElementTree_xmlparse

diff --git a/yum/misc.py b/yum/misc.py
index 09e4dd6..8e9a20c 100644
--- a/yum/misc.py
+++ b/yum/misc.py
@@ -1088,5 +1088,6 @@ def cElementTree_iterparse(filename):
     return __cached_cElementTree.iterparse(filename)
 
 def cElementTree_xmlparse(filename):
-    """ Lazily load/run: cElementTree.xmlparse """
+    """ Lazily load/run: cElementTree.parse """
+    _cElementTree_import()
     return __cached_cElementTree.parse(filename)


More information about the Yum-commits mailing list