[Checkins] SVN: zope.index/trunk/src/zope/index/text/textindex.py The codepath in apply:
Chris McDonough
chrism at plope.com
Sun Feb 1 13:24:52 EST 2009
Log message for revision 95905:
The codepath in apply:
except TypeError:
# We overflowed the score, perhaps wildly unlikely.
# Who knows.
results[docid] = sys.maxint/10
Would have raised a NameError for sys.
Changed:
U zope.index/trunk/src/zope/index/text/textindex.py
-=-
Modified: zope.index/trunk/src/zope/index/text/textindex.py
===================================================================
--- zope.index/trunk/src/zope/index/text/textindex.py 2009-02-01 18:23:51 UTC (rev 95904)
+++ zope.index/trunk/src/zope/index/text/textindex.py 2009-02-01 18:24:52 UTC (rev 95905)
@@ -16,6 +16,8 @@
$Id$
"""
+import sys
+
from persistent import Persistent
from zope.interface import implements
More information about the Checkins
mailing list