RSS feed

python-stdnum branch master updated. 0.8.1-13-g9ec3cb0

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

python-stdnum branch master updated. 0.8.1-13-g9ec3cb0

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  9ec3cb0b4de9401b27eb9ac1e296f73737654f00 (commit)
      from  7f30979a49c2605c9a5825281f73ef57bfa66192 (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 9ec3cb0b4de9401b27eb9ac1e296f73737654f00
Author: C├ędric Krier <>
Date:   Mon Dec 30 17:47:09 2013 +0100

    Add support for proxy

diff --git a/stdnum/eu/ b/stdnum/eu/
index 1c3c9f2..460bb38 100644
--- a/stdnum/eu/
+++ b/stdnum/eu/
@@ -125,5 +125,6 @@ def check_vies(number):  # pragma: no cover (no tests for 
this function)
     global _vies_client
     if not _vies_client:
         from suds.client import Client
-        _vies_client = Client(vies_wsdl)
+        from urllib import getproxies
+        _vies_client = Client(vies_wsdl, proxy=getproxies())
     return _vies_client.service.checkVat(number[:2], number[2:])


Summary of changes:
 stdnum/eu/ |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

To unsubscribe send an email to or see