Log message for revision 38417:
  First step to make tests pass with Python 2.1 + Zope 2.6 again.
  Damn legacy ;-)
  

Changed:
  U   CMF/branches/1.4/CMFCore/tests/test_Template304Handling.py
  U   CMF/branches/1.4/CMFCore/utils.py

-=-
Modified: CMF/branches/1.4/CMFCore/tests/test_Template304Handling.py
===================================================================
--- CMF/branches/1.4/CMFCore/tests/test_Template304Handling.py  2005-09-09 
03:27:29 UTC (rev 38416)
+++ CMF/branches/1.4/CMFCore/tests/test_Template304Handling.py  2005-09-09 
08:35:19 UTC (rev 38417)
@@ -20,6 +20,12 @@
     execfile(os.path.join(sys.path[0], 'framework.py'))
 
 try:
+    True
+except NameError:
+    True = 1
+    False = 0
+
+try:
     ZTC_available = True
     from Testing import ZopeTestCase
     from Testing.ZopeTestCase import Functional

Modified: CMF/branches/1.4/CMFCore/utils.py
===================================================================
--- CMF/branches/1.4/CMFCore/utils.py   2005-09-09 03:27:29 UTC (rev 38416)
+++ CMF/branches/1.4/CMFCore/utils.py   2005-09-09 08:35:19 UTC (rev 38417)
@@ -51,6 +51,11 @@
 from Products.PageTemplates.Expressions import SecureModuleImporter
 from thread import allocate_lock
 
+try:
+    True
+except NameError:
+    True = 1
+    False = 0
 
 security = ModuleSecurityInfo( 'Products.CMFCore.utils' )
 

_______________________________________________
CMF-checkins mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/cmf-checkins

Reply via email to