Mercurial > kallithea
comparison rhodecode/controllers/admin/repos.py @ 3315:fc08484c5bf3 beta
whitespace cleanup
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 03 Feb 2013 23:33:41 +0100 |
parents | 72a91632b731 |
children | 069884383cc7 |
comparison
equal
deleted
inserted
replaced
3314:059efaea23d6 | 3315:fc08484c5bf3 |
---|---|
42 from rhodecode.lib.utils import invalidate_cache, action_logger, repo_name_slug | 42 from rhodecode.lib.utils import invalidate_cache, action_logger, repo_name_slug |
43 from rhodecode.lib.helpers import get_token | 43 from rhodecode.lib.helpers import get_token |
44 from rhodecode.model.meta import Session | 44 from rhodecode.model.meta import Session |
45 from rhodecode.model.db import User, Repository, UserFollowing, RepoGroup,\ | 45 from rhodecode.model.db import User, Repository, UserFollowing, RepoGroup,\ |
46 RhodeCodeSetting, RepositoryField | 46 RhodeCodeSetting, RepositoryField |
47 from rhodecode.model.forms import RepoForm, RepoFieldForm | 47 from rhodecode.model.forms import RepoForm, RepoFieldForm |
48 from rhodecode.model.scm import ScmModel, GroupList | 48 from rhodecode.model.scm import ScmModel, GroupList |
49 from rhodecode.model.repo import RepoModel | 49 from rhodecode.model.repo import RepoModel |
50 from rhodecode.lib.compat import json | 50 from rhodecode.lib.compat import json |
51 from sqlalchemy.sql.expression import func | 51 from sqlalchemy.sql.expression import func |
52 | 52 |
526 except Exception, e: | 526 except Exception, e: |
527 log.error(traceback.format_exc()) | 527 log.error(traceback.format_exc()) |
528 msg = _('An error occurred during removal of field') | 528 msg = _('An error occurred during removal of field') |
529 h.flash(msg, category='error') | 529 h.flash(msg, category='error') |
530 return redirect(url('edit_repo', repo_name=repo_name)) | 530 return redirect(url('edit_repo', repo_name=repo_name)) |
531 |