python-stdnum commit: r145 - python-stdnum/stdnum/lt
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
python-stdnum commit: r145 - python-stdnum/stdnum/lt
- From: Commits of the python-stdnum project <python-stdnum-commits [at] lists.arthurdejong.org>
- To: python-stdnum-commits [at] lists.arthurdejong.org
- Reply-to: python-stdnum-users [at] lists.arthurdejong.org
- Subject: python-stdnum commit: r145 - python-stdnum/stdnum/lt
- Date: Sat, 18 Feb 2012 20:25:00 +0100 (CET)
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/
- python-stdnum commit: r145 - python-stdnum/stdnum/lt,
Commits of the python-stdnum project