diff pylons_app/controllers/admin/settings.py @ 473:6b934c9607e7 celery

Improved testing scenarios. Made test env creator Fixed hg_model error message some other tweeks and fixes Models fixe for uniq email, and removed some extra not needed imports from model main module
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 13 Sep 2010 01:23:58 +0200
parents 3fc3ce53659b
children 460ad816820d
line wrap: on
line diff
--- a/pylons_app/controllers/admin/settings.py	Sun Sep 12 22:42:03 2010 +0200
+++ b/pylons_app/controllers/admin/settings.py	Mon Sep 13 01:23:58 2010 +0200
@@ -106,7 +106,7 @@
         if setting_id == 'whoosh':
             repo_location = get_hg_ui_settings()['paths_root_path']
             full_index = request.POST.get('full_index',False)
-            task = run_task(tasks.whoosh_index,True,repo_location,full_index)
+            task = run_task(tasks.whoosh_index,repo_location,full_index)
             
             h.flash(_('Whoosh reindex task scheduled'), category='success')
         if setting_id == 'global':