[Zope-Checkins] CVS: Zope2 - TextIndex.py:1.1.2.25

andreas@serenade.digicool.com andreas@serenade.digicool.com
Fri, 25 May 2001 11:09:33 -0400


Update of /cvs-repository/Zope2/lib/python/Products/PluginIndexes/TextIndex
In directory serenade:/tmp/cvs-serv31754/TextIndex

Modified Files:
      Tag: ajung-dropin-registry
	TextIndex.py 
Log Message:
removed debug code



--- Updated File TextIndex.py in package Zope2 --
--- TextIndex.py	2001/05/25 14:00:29	1.1.2.24
+++ TextIndex.py	2001/05/25 15:09:32	1.1.2.25
@@ -207,11 +207,9 @@
             ## if no lexicon is provided, create a default one
             try:
                 self._lexicon = self.aq_parent.aq_parent[self.vocabulary_id].getLexicon()
-                print 'got it from parent'
             except:                
                 self._lexicon = Lexicon()
                 self.vocabulary_id = '__intern__'
-                print 'Creating my own lexicon'
 
         return self._lexicon
 
@@ -630,13 +628,7 @@
         return (left, right)
 
 
-    def test(self):
-        """ noch ein test """
-        print self.aq_parent.aq_parent.objectItems("Vocabulary")
-        print self.aq_parent.aq_parent.objectItems()
-        return "noch ein test"
 
-
     def evaluate(self, query):
         """Evaluate a parsed query"""
         # There are two options if the query passed in is only one
@@ -704,8 +696,6 @@
         if self.vocabulary_id != vocabulary:
             self.clear()
             self.vocabulary_id    = vocabulary
-
-        print self.vocabulary_id
 
         if RESPONSE:
             RESPONSE.redirect(URL2 + '/manage_main?manage_tabs_message=Preferences%20saved')