File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1414# that promote freedom, but obviously am giving up any rights
1515# to compel such.
1616#
17- #$Id: indexer.py,v 1.9 2002-07-14 06:11:16 richard Exp $
17+ #$Id: indexer.py,v 1.10 2002-07-14 23:17:24 richard Exp $
1818'''
1919This module provides an indexer class, RoundupIndexer, that stores text
2020indices in a roundup instance. This class makes searching the content of
@@ -282,7 +282,7 @@ def save_index(self):
282282 os .remove (self .indexdb + segment )
283283 except OSError , error :
284284 # probably just nonexistent segment index file
285- if error .errno != errno .EEXIST : raise
285+ if error .errno != errno .ENOENT : raise
286286
287287 # First write the much simpler filename/fileid dictionaries
288288 dbfil = {'WORDS' :None , 'FILES' :self .files , 'FILEIDS' :self .fileids }
@@ -333,6 +333,9 @@ def index_loaded(self):
333333
334334#
335335#$Log: not supported by cvs2svn $
336+ #Revision 1.9 2002/07/14 06:11:16 richard
337+ #Some TODOs
338+ #
336339#Revision 1.8 2002/07/09 21:53:38 gmcm
337340#Optimize Class.find so that the propspec can contain a set of ids to match.
338341#This is used by indexer.search so it can do just one find for all the index matches.
You can’t perform that action at this time.
0 commit comments