[Zope-Checkins] CVS: Zope2 - ZCatalog.py:1.88.6.20 ZCatalogIndexes.py:1.1.2.14
andreas@serenade.digicool.com
andreas@serenade.digicool.com
Fri, 25 May 2001 11:08:09 -0400
Update of /cvs-repository/Zope2/lib/python/Products/ZCatalog
In directory serenade:/tmp/cvs-serv31734
Modified Files:
Tag: ajung-dropin-registry
ZCatalog.py ZCatalogIndexes.py
Log Message:
removed debug code
--- Updated File ZCatalog.py in package Zope2 --
--- ZCatalog.py 2001/05/25 13:41:01 1.88.6.19
+++ ZCatalog.py 2001/05/25 15:08:09 1.88.6.20
@@ -441,7 +441,6 @@
def reindexIndex(self,name,REQUEST):
- print "please reindex",name
paths = tuple(self._catalog.paths.values())
@@ -792,7 +791,6 @@
#
def addIndex(self, name, type):
- print "Add index %s, type %s" % (name, type)
# Convert the type by finding an appropriate product which supports
# this interface by that name. Bleah
@@ -821,12 +819,10 @@
def delIndex(self, name ):
- print "del index %s" % (name)
self._catalog.delIndex(name)
def clearIndex(self, name):
- print "clear index %s" % name
self._catalog.indexes[name].clear()
--- Updated File ZCatalogIndexes.py in package Zope2 --
--- ZCatalogIndexes.py 2001/05/24 15:33:40 1.1.2.13
+++ ZCatalogIndexes.py 2001/05/25 15:08:09 1.1.2.14
@@ -160,7 +160,7 @@
return indexes.get(id, default)
def objectIds(self, spec=None):
- print "ZCatalogIndexes: objectIds(%s)" % spec
+
indexes = self.aq_parent._catalog.indexes
if spec is not None:
if type(spec) == type('s'):
@@ -189,7 +189,7 @@
o = indexes.get(name, None)
if o is not None:
- print dir(o)
+# print dir(o)
if getattr(o,'manage_workspace', None) is None:
o = OldCatalogWrapperObject(o)
return o.__of__(self)