mirror of
https://github.com/rasterio/rasterio.git
synced 2026-02-01 14:34:43 +00:00
Fixes repr(CRS) for Python 2.7
This commit is contained in:
parent
457137f207
commit
ed01d2c73b
@ -160,7 +160,9 @@ class CRS(UserDict):
|
||||
return wkt
|
||||
|
||||
def __repr__(self):
|
||||
return "CRS({})".format(super(CRS, self).__repr__())
|
||||
# Should use super() here, but what's the best way to be compatible
|
||||
# between Python 2 and 3?
|
||||
return "CRS({})".format(dict.__repr__(self.data))
|
||||
|
||||
|
||||
# Below is the big list of PROJ4 parameters from
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user