Show More
@@ -172,8 +172,8 class WhooshIndexingDaemon(object): | |||||
172 | log.debug('>>> FINISHED BUILDING INDEX <<<') |
|
172 | log.debug('>>> FINISHED BUILDING INDEX <<<') | |
173 |
|
173 | |||
174 | def update_index(self): |
|
174 | def update_index(self): | |
175 |
log.debug('STARTING INCREMENTAL INDEXING UPDATE FOR EXTENSIONS %s' |
|
175 | log.debug(('STARTING INCREMENTAL INDEXING UPDATE FOR EXTENSIONS %s ' | |
176 | INDEX_EXTENSIONS) |
|
176 | 'AND REPOS %s') % (INDEX_EXTENSIONS, self.repo_paths)) | |
177 |
|
177 | |||
178 | idx = open_dir(self.index_location, indexname=self.indexname) |
|
178 | idx = open_dir(self.index_location, indexname=self.indexname) | |
179 | # The set of all paths in the index |
|
179 | # The set of all paths in the index | |
@@ -215,6 +215,7 class WhooshIndexingDaemon(object): | |||||
215 | ri_cnt = riwc_cnt = 0 |
|
215 | ri_cnt = riwc_cnt = 0 | |
216 | for repo_name, repo in self.repo_paths.items(): |
|
216 | for repo_name, repo in self.repo_paths.items(): | |
217 | for path in self.get_paths(repo): |
|
217 | for path in self.get_paths(repo): | |
|
218 | path = safe_unicode(path) | |||
218 | if path in to_index or path not in indexed_paths: |
|
219 | if path in to_index or path not in indexed_paths: | |
219 | # This is either a file that's changed, or a new file |
|
220 | # This is either a file that's changed, or a new file | |
220 | # that wasn't indexed before. So index it! |
|
221 | # that wasn't indexed before. So index it! |
General Comments 0
You need to be logged in to leave comments.
Login now