]> git.openstreetmap.org Git - osqa.git/commitdiff
forgot to remove a test variable.
authorqw3rty <qw3rty@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Fri, 14 May 2010 15:27:06 +0000 (15:27 +0000)
committerqw3rty <qw3rty@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Fri, 14 May 2010 15:27:06 +0000 (15:27 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@274 0cfe37f9-358a-4d5e-be75-b63607b5c754

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):