You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/geopy/files/1.1.3-formatpy3.patch

16 lines
431 B

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 = {