lists.arthurdejong.org
RSS feed

python-stdnum branch master updated. 1.0-4-g9883c72

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

python-stdnum branch master updated. 1.0-4-g9883c72



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  9883c72176409c6a2cdb8a0f54fe4571446ddcb6 (commit)
      from  3a7c9f7d2ffe14a9d2f9bc37f6eaeba4f897970c (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 -----------------------------------------------------------------
http://arthurdejong.org/git/python-stdnum/commit/?id=9883c72176409c6a2cdb8a0f54fe4571446ddcb6

commit 9883c72176409c6a2cdb8a0f54fe4571446ddcb6
Author: Emiliano Castro <emiliano@typeform.com>
Date:   Tue Dec 23 19:01:36 2014 +0100

    Adding HR (Croatia) to the list of available countries

diff --git a/stdnum/eu/vat.py b/stdnum/eu/vat.py
index 573852c..30a13c3 100644
--- a/stdnum/eu/vat.py
+++ b/stdnum/eu/vat.py
@@ -44,7 +44,7 @@ from stdnum.util import clean
 
 country_codes = set([
     'at', 'be', 'bg', 'cy', 'cz', 'de', 'dk', 'ee', 'es', 'fi', 'fr', 'gb',
-    'gr', 'hu', 'ie', 'it', 'lt', 'lu', 'lv', 'mt', 'nl', 'pl', 'pt', 'ro',
+    'gr', 'hr', 'hu', 'ie', 'it', 'lt', 'lu', 'lv', 'mt', 'nl', 'pl', 'pt', 
'ro',
     'se', 'si', 'sk'
 ])
 """The collection of country codes that are queried. Greece is listed with
diff --git a/stdnum/hr/__init__.py b/stdnum/hr/__init__.py
index 3c38d75..acd1734 100644
--- a/stdnum/hr/__init__.py
+++ b/stdnum/hr/__init__.py
@@ -19,3 +19,6 @@
 # 02110-1301 USA
 
 """Collection of Croatian numbers."""
+
+# provide vat as an alias
+from stdnum.hr import oib as vat

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

Summary of changes:
 stdnum/eu/vat.py      |    2 +-
 stdnum/hr/__init__.py |    3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)


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