Check length when checking Siren
in module party_siret/luhn.py
line 16 should be:
return len(value) == 9 and (evens + odds) % 10 == 0
Files
Download | Creator | Timestamp | Type |
---|---|---|---|
siren.patch | @NicolasTr | 2012-04-19 17:43:37.556000 UTC | text/plain |