idella4     14/09/07 12:53:28

  Added:                1.1.3-formatpy3.patch
  Log:
  patch to fix failing test under py3
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.1                  dev-python/geopy/files/1.1.3-formatpy3.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/geopy/files/1.1.3-formatpy3.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/geopy/files/1.1.3-formatpy3.patch?rev=1.1&content-type=text/plain

Index: 1.1.3-formatpy3.patch
===================================================================
https://github.com/geopy/geopy/commit/fe0cd3c6c92b7d7ac47cb2292260485c5b3791c1
diff --git a/geopy/format.py b/geopy/format.py
index 965a127..63b1e94 100644
--- a/geopy/format.py
+++ b/geopy/format.py
@@ -30,7 +30,7 @@
 ABBR_ARCSEC = 'arcsec'
 
 DEGREES_FORMAT = (
-    "%(degrees)d%(deg)s %(minutes)d%(arcmin)s %(seconds)s%(arcsec)s"
+    "%(degrees)d%(deg)s %(minutes)d%(arcmin)s %(seconds)g%(arcsec)s"
 )
 
 UNICODE_SYMBOLS = {





Reply via email to