[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/PythonScripts/patches.py Fix version check. See second comment here: https://bugs.launchpad.net/zope2/+bug/257276
Stefan H. Holek
stefan at epy.co.at
Thu Oct 30 09:35:50 EDT 2008
Log message for revision 92699:
Fix version check. See second comment here: https://bugs.launchpad.net/zope2/+bug/257276
Changed:
U Zope/trunk/lib/python/Products/PythonScripts/patches.py
-=-
Modified: Zope/trunk/lib/python/Products/PythonScripts/patches.py
===================================================================
--- Zope/trunk/lib/python/Products/PythonScripts/patches.py 2008-10-30 13:22:20 UTC (rev 92698)
+++ Zope/trunk/lib/python/Products/PythonScripts/patches.py 2008-10-30 13:35:50 UTC (rev 92699)
@@ -95,7 +95,7 @@
# Return the registry entry
return entry
-if sys.version_info <= (2, 4, 5):
+if sys.version_info[:2] < (2, 5):
import encodings
encodings.search_function.func_code = search_function.func_code
More information about the Zope-Checkins
mailing list