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