[Zope-Checkins] SVN: Zope/hotfixes/Products.Zope_Hotfix_CVE_2011_3587/trunk/Products/Zope_Hotfix_CVE_2011_3587/ Add logging for successful patch application
Hanno Schlichting
hannosch at hannosch.eu
Tue Oct 4 05:47:22 EST 2011
Log message for revision 123009:
Add logging for successful patch application
Changed:
U Zope/hotfixes/Products.Zope_Hotfix_CVE_2011_3587/trunk/Products/Zope_Hotfix_CVE_2011_3587/__init__.py
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/__init__.py
===================================================================
--- Zope/hotfixes/Products.Zope_Hotfix_CVE_2011_3587/trunk/Products/Zope_Hotfix_CVE_2011_3587/__init__.py 2011-10-04 09:51:24 UTC (rev 123008)
+++ Zope/hotfixes/Products.Zope_Hotfix_CVE_2011_3587/trunk/Products/Zope_Hotfix_CVE_2011_3587/__init__.py 2011-10-04 10:47:22 UTC (rev 123009)
@@ -1,2 +1,8 @@
+import logging
+logger = logging.getLogger('Zope_Hotfix_CVE_2011_3587')
+
+
def initialize(context):
- import patch
+ from Products.Zope_Hotfix_CVE_2011_3587.patch import install_patch
+ install_patch()
+ logger.info('Hotfix installed.')
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 09:51:24 UTC (rev 123008)
+++ Zope/hotfixes/Products.Zope_Hotfix_CVE_2011_3587/trunk/Products/Zope_Hotfix_CVE_2011_3587/patch.py 2011-10-04 10:47:22 UTC (rev 123009)
@@ -1 +1,4 @@
-# ...
+
+
+def install_patch():
+ pass
More information about the Zope-Checkins
mailing list