lists.arthurdejong.org
RSS feed

python-stdnum branch master updated. 1.8.1-17-gfec1685

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

python-stdnum branch master updated. 1.8.1-17-gfec1685



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-stdnum".

The branch, master has been updated
       via  fec1685fc83534e0b5f060a9897417b3dd47dc20 (commit)
      from  98d11a315938fbae9283075c5ca3c6779da4fd17 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://arthurdejong.org/git/python-stdnum/commit/?id=fec1685fc83534e0b5f060a9897417b3dd47dc20

commit fec1685fc83534e0b5f060a9897417b3dd47dc20
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Mon Mar 19 21:34:54 2018 +0100

    Also ignore other letters with possible umlaut
    
    Fixes 98d11a3
    
    Closes https://github.com/arthurdejong/python-stdnum/pull/67

diff --git a/stdnum/at/tin.py b/stdnum/at/tin.py
index f79b0dc..71abb54 100644
--- a/stdnum/at/tin.py
+++ b/stdnum/at/tin.py
@@ -59,7 +59,7 @@ def _min_fa(office):
     comparison without running into encoding issues."""
     return ''.join(
         x for x in office.lower()
-        if x in 'abcdefghijklmnopqrstvwxyz')
+        if x in 'bcdefghijklmnopqrstvwxyz')
 
 
 def calc_check_digit(number):

-----------------------------------------------------------------------

Summary of changes:
 stdnum/at/tin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
python-stdnum
-- 
To unsubscribe send an email to
python-stdnum-commits-unsubscribe@lists.arthurdejong.org or see
https://lists.arthurdejong.org/python-stdnum-commits/