[tryton-debian-vcs] tryton-modules-google-maps branch upstream updated. upstream/4.2.0-1-g1d08ca7

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 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-google-maps.git;a=commitdiff;h=upstream/4.2.0-1-g1d08ca7

commit 1d08ca7c545bc5b69a5c4197a212b80916a20f12
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Jan 4 12:52:14 2017 +0100

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

diff --git a/CHANGELOG b/CHANGELOG
index 5fddd7d..8d2f3ef 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.2.1 - 2017-01-03
+* Bug fixes (see mercurial logs for details)
+
 Version 4.2.0 - 2016-11-28
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 6a6719b..33cf4cb 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_google_maps
-Version: 4.2.0
+Version: 4.2.1
 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 131b486..3994539 100644
--- a/address.py
+++ b/address.py
@@ -22,7 +22,7 @@ class Address:
         lang = Transaction().language[:2]
         url = ' '.join(self.get_full_address('full_address').splitlines())
         if url.strip():
-            if isinstance(url, str) and 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 a2afc07..6d78e3e 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.2.0
+version=4.2.1
 depends:
     ir
     party
diff --git a/trytond_google_maps.egg-info/PKG-INFO b/trytond_google_maps.egg-info/PKG-INFO
index fae5902..8d8215d 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.2.0
+Version: 4.2.1
 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