diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2018-04-12 18:42:52 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2018-04-12 18:49:59 +0200 |
commit | e200656d89de638b716d24da928bc57bc41b9e3e (patch) | |
tree | 1c3fe8ef3d97c120e9eb44e8495b106263f6578f /stdnum/iban.py | |
parent | e6739be9b4cebf01e331c6aaf075f49843883478 (diff) |
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.
Diffstat (limited to 'stdnum/iban.py')
-rw-r--r-- | stdnum/iban.py | 3 |
1 files changed, 1 insertions, 2 deletions
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') |