From e200656d89de638b716d24da928bc57bc41b9e3e Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Thu, 12 Apr 2018 18:42:52 +0200 Subject: Add an extra test for Belgian IBANs A Belgian IBAN should not end with 00. This also fixes a docstring and comment in the IBAN module. --- stdnum/iban.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'stdnum/iban.py') diff --git a/stdnum/iban.py b/stdnum/iban.py index 865b96c..09c8fdb 100644 --- a/stdnum/iban.py +++ b/stdnum/iban.py @@ -89,8 +89,7 @@ def _struct_to_re(structure): def _get_cc_module(cc): - """Get the VAT number module based on the country code.""" - # Greece uses a "wrong" country code + """Get the IBAN module based on the country code.""" cc = cc.lower() if cc not in _country_modules: _country_modules[cc] = get_cc_module(cc, 'iban') -- cgit v1.2.3