Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed a typo from [4968].

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c80c3922b32b0a907a66ace59d1b61af926f6ec2 1 parent bebf066
Malcolm Tredinnick authored April 09, 2007

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/localflavor/fi/forms.py
2  django/contrib/localflavor/fi/forms.py
@@ -38,7 +38,7 @@ def clean(self, value):
38 38
             (?P<checksum>[%s])$""" % checkmarks, value, re.VERBOSE | re.IGNORECASE)
39 39
         if not result:
40 40
             raise ValidationError(gettext(u'Enter a valid Finnish social security number.'))
41  
-        gd = match.groupdict()
  41
+        gd = result.groupdict()
42 42
         checksum = int(gd['date'] + gd['serial'])
43 43
         if checkmarks[checksum % len(checkmarks)] == gd['checksum'].upper():
44 44
             return u'%s' % value.upper()

0 notes on commit c80c392

Please sign in to comment.
Something went wrong with that request. Please try again.