[prev in list] [next in list] [prev in thread] [next in thread]
List: zope-cvs
Subject: [Zope-Checkins] SVN:
From: Hanno Schlichting <hannosch () hannosch ! eu>
Date: 2011-10-04 15:00:59
Message-ID: 20111004150059.AA14E940C9 () cvs ! zope ! org
[Download RAW message or body]
Log message for revision 123014:
Add patch
Changed:
U Zope/hotfixes/Products.Zope_Hotfix_CVE_2011_3587/trunk/Products/Zope_Hotfix_CVE_2011_3587/patch.py
-=-
Modified: Zope/hotfixes/Products.Zope_Hotfix_CVE_2011_3587/trunk/Products/Zope_Hotfix_CVE_2011_3587/patch.py
===================================================================
--- Zope/hotfixes/Products.Zope_Hotfix_CVE_2011_3587/trunk/Products/Zope_Hotfix_CVE_2011_3587/patch.py 2011-10-04 \
14:20:16 UTC (rev 123013)
+++ Zope/hotfixes/Products.Zope_Hotfix_CVE_2011_3587/trunk/Products/Zope_Hotfix_CVE_2011_3587/patch.py 2011-10-04 \
15:00:59 UTC (rev 123014) @@ -1,4 +1,9 @@
+from types import ModuleType
def install_patch():
- pass
+ from OFS.misc_ import p_
+
+ for k, v in list(p_.__dict__.items()):
+ if isinstance(v, ModuleType):
+ del p_.__dict__[k]
_______________________________________________
Zope-Checkins maillist - Zope-Checkins@zope.org
https://mail.zope.org/mailman/listinfo/zope-checkins
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic