[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndexNG/queryparser - Collector.py:1.1.2.2

Andreas Jung andreas@digicool.com
Wed, 16 Jan 2002 20:38:38 -0500


Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndexNG/queryparser
In directory cvs.zope.org:/tmp/cvs-serv13154

Modified Files:
      Tag: ajung-textindexng-branch
	Collector.py 
Log Message:
fixed AssertionError raised when stack contained more than one element


=== Zope/lib/python/Products/PluginIndexes/TextIndexNG/queryparser/Collector.py 1.1.2.1 => 1.1.2.2 ===
     def getResult(self):
 
+        self.grabStack()
+
         assert len(self.lst)==1
 
-        self.grabStack()
         res = self.pop()
 
         return res