diff roundup/indexer.py @ 880:de3da99a7c02

Add Number and Boolean types to hyperdb. Add conversion cases to web, mail & admin interfaces. Add storage/serialization cases to back_anydbm & back_metakit.
author Gordon B. McMillan <gmcm@users.sourceforge.net>
date Thu, 18 Jul 2002 11:17:31 +0000
parents a7e4d740bb86
children 974a4b94c5e3
line wrap: on
line diff
--- a/roundup/indexer.py	Thu Jul 18 07:01:54 2002 +0000
+++ b/roundup/indexer.py	Thu Jul 18 11:17:31 2002 +0000
@@ -14,7 +14,7 @@
 #     that promote freedom, but obviously am giving up any rights
 #     to compel such.
 # 
-#$Id: indexer.py,v 1.10 2002-07-14 23:17:24 richard Exp $
+#$Id: indexer.py,v 1.11 2002-07-18 11:17:30 gmcm Exp $
 '''
 This module provides an indexer class, RoundupIndexer, that stores text
 indices in a roundup instance.  This class makes searching the content of
@@ -49,7 +49,7 @@
         elif os.path.exists(version):
             version = open(version).read()
             # check the value and reindex if it's not the latest
-            if version != '1':
+            if version.strip() != '1':
                 self.force_reindex()
 
     def force_reindex(self):
@@ -333,6 +333,9 @@
 
 #
 #$Log: not supported by cvs2svn $
+#Revision 1.10  2002/07/14 23:17:24  richard
+#oops
+#
 #Revision 1.9  2002/07/14 06:11:16  richard
 #Some TODOs
 #

Roundup Issue Tracker: http://roundup-tracker.org/