[Checkins] SVN: zc.relationship/trunk/src/zc/relationship/index.py remove unused code

Gary Poster gary at zope.com
Mon Aug 6 22:06:52 EDT 2007


Log message for revision 78651:
  remove unused code

Changed:
  U   zc.relationship/trunk/src/zc/relationship/index.py

-=-
Modified: zc.relationship/trunk/src/zc/relationship/index.py
===================================================================
--- zc.relationship/trunk/src/zc/relationship/index.py	2007-08-07 02:03:29 UTC (rev 78650)
+++ zc.relationship/trunk/src/zc/relationship/index.py	2007-08-07 02:06:51 UTC (rev 78651)
@@ -92,12 +92,6 @@
 ##############################################################################
 # the relationship index
 
-def getModuleTools(module):
-    return dict(
-        (nm, getattr(module, nm, None)) for nm in 
-        ('BTree', 'TreeSet', 'Bucket', 'Set',
-         'intersection', 'multiunion', 'union', 'difference'))
-
 class Index(zc.relation.catalog.Catalog,
             zope.app.container.contained.Contained):
     interface.implementsOnly(
@@ -139,9 +133,6 @@
 
     # disable search indexes
     _iterListeners = zc.relation.catalog.Catalog.iterListeners
-    def _getSearchIndexResults(self, name, query, maxDepth, filter,
-                               targetQuery, targetFilter, queryFactory):
-        return None
     addSearchIndex = iterSearchIndexes = removeSearchIndex = None
 
     def documentCount(self):



More information about the Checkins mailing list