rpms/translate-toolkit/F-8 translate-toolkit-1.0.1-python25.patch, NONE, 1.1

Caius Chance (cchance) fedora-extras-commits at redhat.com
Tue Jan 22 04:17:37 UTC 2008


Author: cchance

Update of /cvs/pkgs/rpms/translate-toolkit/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11615

Added Files:
	translate-toolkit-1.0.1-python25.patch 
Log Message:
Added patch of 1.0.1 source.


translate-toolkit-1.0.1-python25.patch:

--- NEW FILE translate-toolkit-1.0.1-python25.patch ---
--- translate-toolkit-1.0.1/translate/misc/xmlwrapper.py.python25	2007-12-19 14:30:40.000000000 +0200
+++ translate-toolkit-1.0.1/translate/misc/xmlwrapper.py	2007-12-19 14:31:15.000000000 +0200
@@ -21,7 +21,10 @@
 
 """simpler wrapper to the elementtree XML parser"""
 
-from elementtree import ElementTree
+try:
+  from xml.etree import ElementTree
+except ImportError:
+  from elementtree import ElementTree
 # this is needed to prevent expat-version conflicts with wx >= 2.5.2.2
 from xml.parsers import expat
 




More information about the fedora-extras-commits mailing list