changeset 2344:70126ffbd575 beta

fixed issue #459. Changed the way of obtaining logger in reindex task.
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 27 May 2012 18:27:59 +0200
parents fcf16fd84f06
children 824461179c80
files rhodecode/lib/celerylib/tasks.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/lib/celerylib/tasks.py	Sun May 27 17:57:43 2012 +0200
+++ b/rhodecode/lib/celerylib/tasks.py	Sun May 27 18:27:59 2012 +0200
@@ -75,7 +75,7 @@
 @dbsession
 def whoosh_index(repo_location, full_index):
     from rhodecode.lib.indexers.daemon import WhooshIndexingDaemon
-    log = whoosh_index.get_logger(whoosh_index)
+    log = get_logger(whoosh_index)
     DBS = get_session()
 
     index_location = config['index_dir']