diff options
author | Marcin Kuzminski <marcin@python-works.com> | 2010-11-22 15:49:04 +0100 |
---|---|---|
committer | Marcin Kuzminski <marcin@python-works.com> | 2010-11-22 15:49:04 +0100 |
commit | 5755080541252a5981b1ac646edd63ca76700ad1 (patch) | |
tree | dba23ba76a20a1ed64f9ff05f2b6fcf888a4de62 /rhodecode/model/forms.py | |
parent | a01c506de5b9fe0f00028519d8bf5fc4a70dbe14 (diff) |
added action loggers to following repositories,
refactoring of repo_model get functions
--HG--
branch : beta
Diffstat (limited to 'rhodecode/model/forms.py')
-rw-r--r-- | rhodecode/model/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rhodecode/model/forms.py b/rhodecode/model/forms.py index 2b4488a3..d4980506 100644 --- a/rhodecode/model/forms.py +++ b/rhodecode/model/forms.py @@ -170,7 +170,7 @@ def ValidRepoName(edit, old_data): raise formencode.Invalid(_('This repository name is disallowed'), value, state) if old_data.get('repo_name') != value or not edit: - if RepoModel().get(slug, cache=False): + if RepoModel().get_by_repo_name(slug, cache=False): raise formencode.Invalid(_('This repository already exists') , value, state) return slug |