[commits] r160 - selinux-site/trunk/buildout
tim at mail.se.linux.org
tim at mail.se.linux.org
Mon Dec 10 09:50:06 CET 2007
Author: tim
Date: 2007-12-10 09:50:05 +0100 (Mon, 10 Dec 2007)
New Revision: 160
Added:
selinux-site/trunk/buildout/cachesetup.patch
Log:
Added a patch for CacheSetup that makes the whole site disabled when caching is enabled. This patch should go into CacheSetup subversion as soon as possible.
Added: selinux-site/trunk/buildout/cachesetup.patch
===================================================================
--- selinux-site/trunk/buildout/cachesetup.patch (rev 0)
+++ selinux-site/trunk/buildout/cachesetup.patch 2007-12-10 08:50:05 UTC (rev 160)
@@ -0,0 +1,19 @@
+--- parts/dist-products/CacheSetup/patch_cmf.py 2007-12-10 09:31:59.000000000 +0100
++++ patch_cmf.py 2007-12-10 09:31:41.000000000 +0100
+@@ -62,6 +62,7 @@
+ from Products.PageTemplates.PageTemplate import \
+ PageTemplateTracebackSupplement, PTRuntimeError
+ else:
++ from Products.CMFPlone.patches.unicodehacks import FasterStringIO
+ from zope.tal.talinterpreter import TALInterpreter
+ from zope.pagetemplate.pagetemplate import \
+ PageTemplateTracebackSupplement, PTRuntimeError
+@@ -111,7 +112,7 @@
+ if PLONE25:
+ output = self.StringIO()
+ else:
+- output = StringIO()
++ output = FasterStringIO()
+
+ c = self.pt_getContext()
+ c.update(extra_context)
More information about the commits
mailing list