Remove unused _LUHN_ODD_LOOKUP

This commit is contained in:
Cédric Krier committed 2010-01-06 16:16:04 +01:00
1 parent 1683c24672
commit bb49e60dd9
1 file changed
-2
-2
View File
@@ -1,8 +1,6 @@
#This file is part of Tryton. The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
_LUHN_ODD_LOOKUP = [sum(divmod(x * 2, 10)) for x in xrange(10)]
def validate(value):
"""
Validate value with Luhn algorithm