Mercurial > public > src > rhodecode
changeset 1238:4ceced79596b beta
pep8
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 20 Mar 2011 16:24:32 +0100 |
parents | a1fba57f46fa |
children | 312712050c7e |
files | rhodecode/controllers/admin/settings.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/controllers/admin/settings.py Sun Mar 20 16:23:48 2011 +0100 +++ b/rhodecode/controllers/admin/settings.py Sun Mar 20 16:24:32 2011 +0100 @@ -117,7 +117,7 @@ if setting_id == 'whoosh': repo_location = self.get_hg_ui_settings()['paths_root_path'] full_index = request.POST.get('full_index', False) - task = run_task(tasks.whoosh_index, repo_location, full_index) + run_task(tasks.whoosh_index, repo_location, full_index) h.flash(_('Whoosh reindex task scheduled'), category='success') if setting_id == 'global': @@ -147,7 +147,7 @@ h.flash(_('Updated application settings'), category='success') - except: + except Exception: log.error(traceback.format_exc()) h.flash(_('error occurred during updating application settings'), category='error')