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
- From: Commits of the python-stdnum project <python-stdnum-commits [at] lists.arthurdejong.org>
- To: python-stdnum-commits [at] lists.arthurdejong.org
- Reply-to: python-stdnum-users [at] lists.arthurdejong.org, python-stdnum-commits [at] lists.arthurdejong.org
- Subject: python-stdnum branch master updated. 1.17-22-gce9322c
- Date: Mon, 15 Aug 2022 14:16:58 +0200 (CEST)
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 -----------------------------------------------------------------
https://arthurdejong.org/git/python-stdnum/commit/?id=ce9322c25ce9956e35973ea1bd6e1a1d9c8bbdb0
commit ce9322c25ce9956e35973ea1bd6e1a1d9c8bbdb0
Author: Romuald R <romualdr@users.noreply.github.com>
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
(Charlottenburg).
See
https://www.northdata.com/VRB+Service+GmbH,+Berlin/Amtsgericht+Charlottenburg+%28Berlin%29+HRB+103587+B
Closes https://github.com/arthurdejong/python-stdnum/pull/298
diff --git a/stdnum/de/handelsregisternummer.py
b/stdnum/de/handelsregisternummer.py
index 5bda74c..c1848dc 100644
--- a/stdnum/de/handelsregisternummer.py
+++ b/stdnum/de/handelsregisternummer.py
@@ -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
(Ludwigshafen)'),
diff --git a/tests/test_de_handelsregisternummer.doctest
b/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
numbers.
... 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/handelsregisternummer.py | 1 +
tests/test_de_handelsregisternummer.doctest | 1 +
2 files changed, 2 insertions(+)
hooks/post-receive
--
python-stdnum
- python-stdnum branch master updated. 1.17-22-gce9322c,
Commits of the python-stdnum project