[tryton-debian-vcs] tryton-modules-google-maps branch upstream-4.0 updated. upstream/4.0.2-1-g62c4f61

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Thu Jan 5 10:51:57 UTC 2017


The following commit has been merged in the upstream-4.0 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-google-maps.git;a=commitdiff;h=upstream/4.0.2-1-g62c4f61

commit 62c4f615fcfdf86e9bc7741b00ee73414c04beff
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Jan 4 12:53:28 2017 +0100

    Adding upstream version 4.0.3.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/CHANGELOG b/CHANGELOG
index b1b7f07..6000a9f 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.3 - 2017-01-03
+* Bug fixes (see mercurial logs for details)
+
 Version 4.0.2 - 2016-09-03
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index 808b71b..1474fa9 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,6 +1,6 @@
-Copyright (C) 2008-2016 Cédric Krier.
+Copyright (C) 2008-2017 Cédric Krier.
 Copyright (C) 2008-2012 Bertrand Chenal.
-Copyright (C) 2008-2016 B2CK SPRL.
+Copyright (C) 2008-2017 B2CK SPRL.
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff --git a/PKG-INFO b/PKG-INFO
index 0f626ba..e8178fd 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_google_maps
-Version: 4.0.2
+Version: 4.0.3
 Summary: Tryton module to link addresses to Google Maps
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/address.py b/address.py
index a571782..7376c0e 100644
--- a/address.py
+++ b/address.py
@@ -37,7 +37,7 @@ class Address:
                     url += ' ' + value
         url = url.strip()
         if url:
-            if sys.version_info < (3,):
+            if isinstance(url, unicode) and sys.version_info < (3,):
                 url = url.encode('utf-8')
             return 'http://maps.google.com/maps?hl=%s&q=%s' % \
                 (lang, urllib.quote(url))
diff --git a/tryton.cfg b/tryton.cfg
index 9d517e8..5954992 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.0.2
+version=4.0.3
 depends:
     ir
     party
diff --git a/trytond_google_maps.egg-info/PKG-INFO b/trytond_google_maps.egg-info/PKG-INFO
index 255394e..fc045cc 100644
--- a/trytond_google_maps.egg-info/PKG-INFO
+++ b/trytond_google_maps.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-google-maps
-Version: 4.0.2
+Version: 4.0.3
 Summary: Tryton module to link addresses to Google Maps
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-google-maps



More information about the tryton-debian-vcs mailing list