Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/ro/cnp.py
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2017-09-10 23:40:53 +0200
committerArthur de Jong <arthur@arthurdejong.org>2017-09-11 21:14:20 +0200
commit0ce5d0b21bd36cef209d7574e2ef5215df3ceca6 (patch)
treedc8ed359117720163983330b78cb1568407f50c8 /stdnum/ro/cnp.py
parente468c1beae5cdacbb05540e39a5924bbc7acc09f (diff)
Minor code improvements (mostly PEP8)
Diffstat (limited to 'stdnum/ro/cnp.py')
-rw-r--r--stdnum/ro/cnp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdnum/ro/cnp.py b/stdnum/ro/cnp.py
index 6aab9ef..be815a2 100644
--- a/stdnum/ro/cnp.py
+++ b/stdnum/ro/cnp.py
@@ -84,7 +84,7 @@ def validate(number):
if len(number) != 13:
raise InvalidLength()
# check if birth date is valid
- birth_date = get_birth_date(number)
+ get_birth_date(number)
# TODO: check that the birth date is not in the future
# number[7:9] is the county, we ignore it for now, just check last digit
if calc_check_digit(number[:-1]) != number[-1]: