[Erp5-report] r17403 - /erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Nov 6 03:05:28 CET 2007
Author: yo
Date: Tue Nov 6 03:05:28 2007
New Revision: 17403
URL: http://svn.erp5.org?rev=17403&view=rev
Log:
Patch FSPythonScript to never compile with _write.
Modified:
erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py
Modified: erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py?rev=17403&r1=17402&r2=17403&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py (original)
+++ erp5/trunk/products/ERP5Type/tests/ERP5TypeTestCase.py Tue Nov 6 03:05:28 2007
@@ -763,6 +763,11 @@
PythonScript_compile(self)
return PythonScript_exec(self, *args)
PythonScript._exec = _exec
+ from Products.CMFCore.FSPythonScript import FSPythonScript
+ FSPythonScript_write = FSPythonScript._write
+ def _write(self, text, compile):
+ return FSPythonScript_write(self, text, 0)
+ FSPythonScript._write = _write
optimize()
More information about the Erp5-report
mailing list