Changeset - c0ddc86b4654
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-09-15 21:08:53
marcin@python-works.com
Fix possible exception about repo_name not defined, on whoosh indexer when using index-only option
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/indexers/daemon.py
Show inline comments
 
@@ -238,6 +238,7 @@ class WhooshIndexingDaemon(object):
 
            writer_is_dirty = False
 
            try:
 
                indexed_total = 0
 
                repo_name = None
 
                for repo_name, repo in self.repo_paths.items():
 
                    # skip indexing if there aren't any revs in the repo
 
                    num_of_revs = len(repo)
0 comments (0 inline, 0 general)