Commit 490884ac by yushchenko

fixes raise validation

parent 55ee3110
...@@ -534,9 +534,9 @@ def _validate_statgradlogin(login): ...@@ -534,9 +534,9 @@ def _validate_statgradlogin(login):
try: try:
if p.match(login) is None: if p.match(login) is None:
raise ValidationError raise ValidationError("Ahtung")
except: except:
raise ValidationError raise ValidationError("Ahtung")
def _do_create_account(post_vars): def _do_create_account(post_vars):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment