[Erp5-report] r18209 - in /erp5/trunk/products/ERP5Type: ./ patches/ tests/

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Dec 10 18:03:04 CET 2007


Author: alex
Date: Mon Dec 10 18:03:04 2007
New Revision: 18209

URL: http://svn.erp5.org?rev=18209&view=rev
Log:
revert iHotfix patch that forces PageTemplate to output a string instead of a unicode object

Added:
    erp5/trunk/products/ERP5Type/patches/iHotfix.py
Modified:
    erp5/trunk/products/ERP5Type/ZopePatch.py
    erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py

Modified: erp5/trunk/products/ERP5Type/ZopePatch.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/ZopePatch.py?rev=18209&r1=18208&r2=18209&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/ZopePatch.py (original)
+++ erp5/trunk/products/ERP5Type/ZopePatch.py Mon Dec 10 18:03:04 2007
@@ -54,6 +54,7 @@
 from Products.ERP5Type.patches import PersistentMapping
 from Products.ERP5Type.patches import DateTimePatch
 from Products.ERP5Type.patches import PythonScript
+from Products.ERP5Type.patches import iHotfix
 
 # for python2.3 compatibility
 import threading

Added: erp5/trunk/products/ERP5Type/patches/iHotfix.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/patches/iHotfix.py?rev=18209&view=auto
==============================================================================
--- erp5/trunk/products/ERP5Type/patches/iHotfix.py (added)
+++ erp5/trunk/products/ERP5Type/patches/iHotfix.py Mon Dec 10 18:03:04 2007
@@ -1,0 +1,9 @@
+from Products import iHotfix
+
+from Products.PageTemplates.PageTemplate import PageTemplate
+from TAL.TALInterpreter import TALInterpreter, FasterStringIO
+
+# revert iHotfix patch that forces PageTemplate to output a string instead of
+# a unicode object
+TALInterpreter.StringIO = FasterStringIO
+PageTemplate.StringIO = FasterStringIO

Modified: erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py?rev=18209&r1=18208&r2=18209&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py (original)
+++ erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py Mon Dec 10 18:03:04 2007
@@ -75,6 +75,7 @@
 ZopeTestCase.installProduct('PageTemplates', quiet=install_product_quiet)
 ZopeTestCase.installProduct('PythonScripts', quiet=install_product_quiet)
 ZopeTestCase.installProduct('ExternalMethod', quiet=install_product_quiet)
+ZopeTestCase.installProduct('ZopeProfiler', quiet=install_product_quiet)
 try:
   # Workaround iHotFix patch that doesn't work with
   # ZopeTestCase REQUESTs




More information about the Erp5-report mailing list