Log message for revision 89881:
  fix for _aliases problem with Python 2.3 (Zope 2.8)
  

Changed:
  U   Zope/hotfixes/Hotfix_20080812/trunk/__init__.py

-=-
Modified: Zope/hotfixes/Hotfix_20080812/trunk/__init__.py
===================================================================
--- Zope/hotfixes/Hotfix_20080812/trunk/__init__.py     2008-08-15 13:19:55 UTC 
(rev 89880)
+++ Zope/hotfixes/Hotfix_20080812/trunk/__init__.py     2008-08-15 13:44:01 UTC 
(rev 89881)
@@ -93,8 +93,10 @@
     # Return the registry entry
     return entry
 
-
+import sys
 import encodings
+if sys.version_info[:2] == (2,3):
+    encodings._aliases = encodings.aliases.aliases
 encodings.search_function.func_code = search_function.func_code
 
 

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to