From 150de19f329c471f314bddfd28080a783d7cf110 Mon Sep 17 00:00:00 2001 From: Hidden Z Date: Sat, 16 Oct 2010 16:08:49 +0000 Subject: [PATCH] web/postkey/views.py: fix typo --- web/postkey/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/postkey/views.py b/web/postkey/views.py index 6345f8b..0622cea 100644 --- a/web/postkey/views.py +++ b/web/postkey/views.py @@ -33,7 +33,7 @@ class AddForm(ModelForm): raise forms.ValidationError('Hostname doesn\'t ends with .i2p') # Base 32 hostnames (*.b32.i2p) are not allowed if re.match(r'.*\.b32\.i2p$', data): - raise forms.ValidationError('Base 32 hostnames are not allowed') + raise forms.ValidationError('Base 32 hostnames are not allowed') # Must contain only [a-z] [0-9] '.' and '-' h = re.match(r'([a-z0-9.-]+)\.i2p$', data) if h == None: