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 _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins