Mercurial > kallithea
changeset 2839:c0ddc86b4654 beta
Fix possible exception about repo_name not defined, on whoosh indexer when using index-only option
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 15 Sep 2012 21:08:53 +0200 |
parents | ba09e335f266 |
children | c7c5825299fe |
files | rhodecode/lib/indexers/daemon.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/lib/indexers/daemon.py Thu Sep 13 21:14:11 2012 +0200 +++ b/rhodecode/lib/indexers/daemon.py Sat Sep 15 21:08:53 2012 +0200 @@ -238,6 +238,7 @@ 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)