lists.arthurdejong.org
RSS feed

python-stdnum branch master updated. 1.11-26-gad96b15

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

python-stdnum branch master updated. 1.11-26-gad96b15



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  ad96b15ebbb5d67b698bf925af216a0a830b0300 (commit)
      from  4ad2d9cfb62aa477fb471efd6a0dd076548d976f (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=ad96b15ebbb5d67b698bf925af216a0a830b0300

commit ad96b15ebbb5d67b698bf925af216a0a830b0300
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Sun Jul 14 17:50:04 2019 +0200

    Support normalising quotes
    
    See https://github.com/arthurdejong/python-stdnum/issues/150

diff --git a/stdnum/util.py b/stdnum/util.py
index e3afff2..5c19425 100644
--- a/stdnum/util.py
+++ b/stdnum/util.py
@@ -141,6 +141,15 @@ _char_map = dict(_mk_char_map({
     'MATHEMATICAL DOUBLE-STRUCK DIGIT NINE,MATHEMATICAL SANS-SERIF DIGIT NINE,'
     'MATHEMATICAL SANS-SERIF BOLD DIGIT NINE,MATHEMATICAL MONOSPACE DIGIT 
NINE':
         '9',
+    'APOSTROPHE,GRAVE ACCENT,ACUTE ACCENT,MODIFIER LETTER RIGHT HALF RING,'
+    'MODIFIER LETTER LEFT HALF RING,MODIFIER LETTER PRIME,'
+    'MODIFIER LETTER TURNED COMMA,MODIFIER LETTER APOSTROPHE,'
+    'MODIFIER LETTER VERTICAL LINE,COMBINING GRAVE ACCENT,'
+    'COMBINING ACUTE ACCENT,COMBINING TURNED COMMA ABOVE,'
+    'COMBINING COMMA ABOVE,ARMENIAN APOSTROPHE,'
+    'SINGLE HIGH-REVERSED-9 QUOTATION MARK,LEFT SINGLE QUOTATION MARK,'
+    'RIGHT SINGLE QUOTATION MARK':
+        "'",
 }))
 
 

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

Summary of changes:
 stdnum/util.py | 9 +++++++++
 1 file changed, 9 insertions(+)


hooks/post-receive
-- 
python-stdnum