]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/forms.py
forgot to remove a test variable.
[osqa.git] / forum / forms.py
index 143be75c7db5fa007dd073f6e6ad51ff37df2446..b6bfc08a515962f01818fcdd1441565918485f17 100644 (file)
@@ -68,7 +68,6 @@ class TagNamesField(forms.CharField):
         list_temp = []
         tagname_re = re.compile(r'[a-z0-9]+')
         for tag in list:
-            test = len(tag)
             if len(tag) > settings.FORM_MAX_LENGTH_OF_TAG or len(tag) < settings.FORM_MIN_LENGTH_OF_TAG:
                 raise forms.ValidationError(_('please use between %(min)s and %(max)s characters in you tags') % { 'min': apnumber(settings.FORM_MIN_LENGTH_OF_TAG), 'max': apnumber(settings.FORM_MAX_LENGTH_OF_TAG)})
             if not tagname_re.match(tag):