aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/model/forms.py
diff options
context:
space:
mode:
authorMarcin Kuzminski <marcin@python-works.com>2012-01-28 07:14:34 +0200
committerMarcin Kuzminski <marcin@python-works.com>2012-01-28 07:14:34 +0200
commitd37c2a9dab8bd7110fa6414bfca80a7f08f73c7f (patch)
treee7204e4d928ef5eb42591d897dcae8ebda302b49 /rhodecode/model/forms.py
parent6bd0e47161420b31d4342258e5fd433feab70361 (diff)
white space cleanup
--HG-- branch : beta
Diffstat (limited to 'rhodecode/model/forms.py')
-rw-r--r--rhodecode/model/forms.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/rhodecode/model/forms.py b/rhodecode/model/forms.py
index 52f57afa..17be634e 100644
--- a/rhodecode/model/forms.py
+++ b/rhodecode/model/forms.py
@@ -84,8 +84,8 @@ def ValidUsername(edit, old_data):
raise formencode.Invalid(
_('Username may only contain alphanumeric characters '
'underscores, periods or dashes and must begin with '
- 'alphanumeric character'),
- value,
+ 'alphanumeric character'),
+ value,
state
)
@@ -116,8 +116,8 @@ def ValidUsersGroup(edit, old_data):
raise formencode.Invalid(
_('RepoGroup name may only contain alphanumeric characters '
'underscores, periods or dashes and must begin with '
- 'alphanumeric character'),
- value,
+ 'alphanumeric character'),
+ value,
state
)