lists.arthurdejong.org
RSS feed

python-stdnum commit: r145 - python-stdnum/stdnum/lt

[Date Prev][Date Next] [Thread Prev][Thread Next]

python-stdnum commit: r145 - python-stdnum/stdnum/lt



Author: arthur
Date: Sat Feb 18 20:25:00 2012
New Revision: 145
URL: http://arthurdejong.org/viewvc/python-stdnum?revision=145&view=revision

Log:
explicitly return False if no rule matches

Modified:
   python-stdnum/stdnum/lt/pvm.py

Modified: python-stdnum/stdnum/lt/pvm.py
==============================================================================
--- python-stdnum/stdnum/lt/pvm.py      Sat Feb 18 17:08:18 2012        (r144)
+++ python-stdnum/stdnum/lt/pvm.py      Sat Feb 18 20:25:00 2012        (r145)
@@ -75,3 +75,4 @@
         # temporary tax payers and natural persons
         return number[10] == '1' and \
                calc_check_digit(number[:-1]) == number[-1]
+    return False
-- 
To unsubscribe send an email to
python-stdnum-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/python-stdnum-commits/