RSS feed

python-stdnum branch master updated. 1.17-22-gce9322c

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

python-stdnum branch master updated. 1.17-22-gce9322c

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  ce9322c25ce9956e35973ea1bd6e1a1d9c8bbdb0 (commit)
      from  eae1dd298e56b565af394d6fc85ead89fbbf8565 (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 -----------------------------------------------------------------

commit ce9322c25ce9956e35973ea1bd6e1a1d9c8bbdb0
Author: Romuald R <>
Date:   Wed Aug 3 04:02:21 2022 +0200

    Add extra court alias for german Handelsregisternummer
    Charlottenburg (Berlin) is a valid court representation for Berlin

diff --git a/stdnum/de/ 
index 5bda74c..c1848dc 100644
--- a/stdnum/de/
+++ b/stdnum/de/
@@ -229,6 +229,7 @@ _courts.update(
         ('Bad Homburg', 'Bad Homburg v.d.H.'),
         ('Berlin', 'Berlin (Charlottenburg)'),
         ('Charlottenburg', 'Berlin (Charlottenburg)'),
+        ('Charlottenburg (Berlin)', 'Berlin (Charlottenburg)'),
         ('Kaln', 'Köln'),  # for encoding issues
         ('Kempten', 'Kempten (Allgäu)'),
         ('Ludwigshafen am Rhein (Ludwigshafen)', 'Ludwigshafen a.Rhein 
diff --git a/tests/test_de_handelsregisternummer.doctest 
index f204b4f..3f6d4e4 100644
--- a/tests/test_de_handelsregisternummer.doctest
+++ b/tests/test_de_handelsregisternummer.doctest
@@ -106,6 +106,7 @@ These have been found online and should all be valid 
 ... Bochum   HRA   5828
 ... Bochum HRB 1
 ... Braunschweig   HRB   8057
+... Charlottenburg (Berlin) HRB 103587 B
 ... Chemnitz   HRB   14011
 ... Coesfeld   HRA   7092
 ... Coesfeld   HRB   13681


Summary of changes:
 stdnum/de/          | 1 +
 tests/test_de_handelsregisternummer.doctest | 1 +
 2 files changed, 2 insertions(+)