Fixes repr(CRS) for Python 2.7

This commit is contained in:
James Hiebert 2016-06-04 11:57:03 -07:00
parent 457137f207
commit ed01d2c73b

View File

@ -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