Django

Code

Changeset 4970

Show
Ignore:
Timestamp:
04/09/07 01:16:44 (1 year ago)
Author:
mtredinnick
Message:

Fixed a typo from [4968].

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/localflavor/fi/forms.py

    r4968 r4970  
    3939        if not result: 
    4040            raise ValidationError(gettext(u'Enter a valid Finnish social security number.')) 
    41         gd = match.groupdict() 
     41        gd = result.groupdict() 
    4242        checksum = int(gd['date'] + gd['serial']) 
    4343        if checkmarks[checksum % len(checkmarks)] == gd['checksum'].upper():