[Checkins] SVN: CMF/branches/2.1/C CMFCore.TypesTool: Corrected method signature of all_meta_types to have an interface keyword argument, as per the underlying OFS.ObjectManager interface declaration.

Hanno Schlichting plone at hannosch.info
Mon Jul 2 03:29:28 EDT 2007


Log message for revision 77288:
  CMFCore.TypesTool: Corrected method signature of all_meta_types to have an interface keyword argument, as per the underlying OFS.ObjectManager interface declaration.
  

Changed:
  U   CMF/branches/2.1/CHANGES.txt
  U   CMF/branches/2.1/CMFCore/TypesTool.py

-=-
Modified: CMF/branches/2.1/CHANGES.txt
===================================================================
--- CMF/branches/2.1/CHANGES.txt	2007-07-02 06:48:17 UTC (rev 77287)
+++ CMF/branches/2.1/CHANGES.txt	2007-07-02 07:29:27 UTC (rev 77288)
@@ -11,6 +11,10 @@
 
   Bug Fixes
 
+    - CMFCore.TypesTool: Corrected method signature of all_meta_types to have
+      an interface keyword argument, as per the underlying OFS.ObjectManager
+      interface declaration.
+
     - SkinnableObjectManager: Changed the way skins are set up.
       Acquisition wrapping no longer triggers 'setupCurrentSkin'. This is now
       done on publishing traversal after the BeforeTraverseEvent triggers

Modified: CMF/branches/2.1/CMFCore/TypesTool.py
===================================================================
--- CMF/branches/2.1/CMFCore/TypesTool.py	2007-07-02 06:48:17 UTC (rev 77287)
+++ CMF/branches/2.1/CMFCore/TypesTool.py	2007-07-02 07:29:27 UTC (rev 77288)
@@ -563,7 +563,7 @@
     #
     #   ObjectManager methods
     #
-    def all_meta_types(self):
+    def all_meta_types(self, interfaces=None):
         # this is a workaround and should be removed again if allowedTypes
         # have an interface we can use in _product_interfaces
         all = TypesTool.inheritedAttribute('all_meta_types')(self)



More information about the Checkins mailing list