Corrects Indentation for heremapsexceptions.py

This commit is contained in:
Guido Fioravantti 2015-11-03 18:40:47 +01:00
parent ed560e9e49
commit 048a5535dc

View File

@ -1,11 +1,11 @@
import json import json
class BadGeocodingParams(Exception): class BadGeocodingParams(Exception):
def __init__(self, value): def __init__(self, value):
self.value = value self.value = value
def __str__(self): def __str__(self):
return repr('Bad geocoding params: ' + json.dumps(value)) return repr('Bad geocoding params: ' + json.dumps(value))
class NoGeocodingParams(Exception): class NoGeocodingParams(Exception):
def __str__(self): def __str__(self):
return repr('No params for geocoding specified') return repr('No params for geocoding specified')