diff options
author | Jonathan Dieter <jdieter@gmail.com> | 2007-04-15 18:59:30 +0300 |
---|---|---|
committer | Jonathan Dieter <jdieter@gmail.com> | 2007-04-15 18:59:30 +0300 |
commit | db43deac319ab8742b05fbdf34e22c154635900b (patch) | |
tree | 319427c0528f10b9ed59e5e7aeba8ff76315bc92 /yum-presto/shared/prestomdparser.py | |
parent | e6a179150c92d1b16f2058607e7ab8a5e0e081e6 (diff) | |
download | presto-db43deac319ab8742b05fbdf34e22c154635900b.tar.gz presto-db43deac319ab8742b05fbdf34e22c154635900b.tar.xz presto-db43deac319ab8742b05fbdf34e22c154635900b.zip |
Make compatible with Rawhide. Many bugfixes.
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
Diffstat (limited to 'yum-presto/shared/prestomdparser.py')
-rw-r--r-- | yum-presto/shared/prestomdparser.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/yum-presto/shared/prestomdparser.py b/yum-presto/shared/prestomdparser.py index 9dbcc1d..6764f71 100644 --- a/yum-presto/shared/prestomdparser.py +++ b/yum-presto/shared/prestomdparser.py @@ -19,7 +19,10 @@ # Portions copyright 2007 Jonathan Dieter import gzip -from cElementTree import iterparse +try: + from cElementTree import iterparse +except: + from xml.etree.cElementTree import iterparse from cStringIO import StringIO |