[Checkins] SVN: z3ext.product/trunk/ added compatibility with z3ext.controlpanel >= 1.2.3

Nikolay Kim fafhrd at datacom.kz
Thu May 15 08:13:47 EDT 2008


Log message for revision 86769:
  added compatibility with z3ext.controlpanel >= 1.2.3

Changed:
  U   z3ext.product/trunk/CHANGES.txt
  U   z3ext.product/trunk/src/z3ext/product/zcml.py

-=-
Modified: z3ext.product/trunk/CHANGES.txt
===================================================================
--- z3ext.product/trunk/CHANGES.txt	2008-05-15 08:05:39 UTC (rev 86768)
+++ z3ext.product/trunk/CHANGES.txt	2008-05-15 12:13:45 UTC (rev 86769)
@@ -2,6 +2,12 @@
 CHANGES
 =======
 
+1.0.1 (2008-05-15)
+------------------
+
+- Compatibility with z3ext.controlpanel >= 1.2.3
+
+
 1.0.0 (2008-03-26)
 ------------------
 

Modified: z3ext.product/trunk/src/z3ext/product/zcml.py
===================================================================
--- z3ext.product/trunk/src/z3ext/product/zcml.py	2008-05-15 08:05:39 UTC (rev 86768)
+++ z3ext.product/trunk/src/z3ext/product/zcml.py	2008-05-15 12:13:45 UTC (rev 86769)
@@ -58,7 +58,7 @@
             test = ProductTest()
             tests = (test,) + tuple(tests)
         else:
-            tests = (False,)
+            tests = (NotConfigurable,)
 
         # create component registry
         registry = ProductRegistry(name, title)
@@ -93,3 +93,6 @@
 
     def __call__(self, *args, **kw):
         return self.product.isInstalled()
+
+def NotConfigurable(configlet):
+    return False



More information about the Checkins mailing list