[Zope-Checkins] CVS: Zope/lib/python/Products/ZCatalog - CatalogAwarenessInterface.py:1.2.164.1

Tres Seaver tseaver@zope.com
Tue, 12 Mar 2002 19:43:56 -0500


Update of /cvs-repository/Zope/lib/python/Products/ZCatalog
In directory cvs.zope.org:/tmp/cvs-serv4014/lib/python/Products/ZCatalog

Modified Files:
      Tag: tseaver-scarecrow_fixes-branch
	CatalogAwarenessInterface.py 
Log Message:


  - Don't capture 'self' when creating a Method from a real method.

  - Remove 'self' from signatures of scarecrop interfaces.


=== Zope/lib/python/Products/ZCatalog/CatalogAwarenessInterface.py 1.2 => 1.2.164.1 ===
     """
 
-    def creator(self):
+    def creator():
         """
 
         Return a sequence of user names who have the local Owner role
@@ -14,7 +14,7 @@
 
         """
 
-    def summary(self, num=200):
+    def summary(num=200):
         """
 
         Returns the summary of the text contents of the object (if
@@ -22,7 +22,7 @@
 
         """
 
-    def index_object(self):
+    def index_object():
         """
 
         This object will try and catalog itself when this method is
@@ -30,7 +30,7 @@
 
         """
 
-    def unindex_object(self):
+    def unindex_object():
         """
 
         This object will try and uncatalog itself when this method is
@@ -38,7 +38,7 @@
 
         """
 
-    def reindex_all(self, obj=None):
+    def reindex_all(obj=None):
         """
 
         This method will cause this object to get reindexed.  If this