[Zope-Checkins] CVS: Zope2 - ZCatalog.py:1.88.6.13

Matthew T. Kromer matt@digicool.com
Wed, 23 May 2001 12:00:25 -0400 (EDT)


Update of /cvs-repository/Zope2/lib/python/Products/ZCatalog
In directory korak.digicool.com:/tmp/cvs-serv12982

Modified Files:
      Tag: ajung-dropin-registry
	ZCatalog.py 
Log Message:
Remove all_meta_types from ZCatalog



--- Updated File ZCatalog.py in package Zope2 --
--- ZCatalog.py	2001/05/23 15:50:42	1.88.6.12
+++ ZCatalog.py	2001/05/23 16:00:24	1.88.6.13
@@ -583,13 +583,14 @@
 
     meta_types=() # Sub-object types that are specific to this object
     
-    def all_meta_types(self):
-        pmt=()
-        if hasattr(self, '_product_meta_types'): pmt=self._product_meta_types
-        elif hasattr(self, 'aq_acquire'):
-            try: pmt=self.aq_acquire('_product_meta_types')
-            except AttributeError:  pass
-        return self.meta_types+Products.meta_types+pmt
+    # Dont need this anymore -- we inherit from object manager
+    #def all_meta_types(self):
+    #    pmt=()
+    #    if hasattr(self, '_product_meta_types'): pmt=self._product_meta_types
+    #    elif hasattr(self, 'aq_acquire'):
+    #        try: pmt=self.aq_acquire('_product_meta_types')
+    #        except AttributeError:  pass
+    #    return self.meta_types+Products.meta_types+pmt
 
     def valid_roles(self):
         "Return list of valid roles"