[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 10:47:22
Message-ID: 20111004104722.5C432940C9 () cvs ! zope ! org
[Download RAW message or body]

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

_______________________________________________
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