From d305443c822a6aff1b82cb7d212ba40578c1ae9a Mon Sep 17 00:00:00 2001 From: Miguel Date: Mon, 24 May 2021 14:09:15 +0200 Subject: [PATCH] Fix editor spaces tabs mix --- .../cartodb_services/cartodb_services/here/__init__.py | 2 +- .../cartodb_services/here/bulk_geocoder.py | 2 +- .../cartodb_services/cartodb_services/here/routing.py | 8 ++++---- .../cartodb_services/here/service_factory.py | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/server/lib/python/cartodb_services/cartodb_services/here/__init__.py b/server/lib/python/cartodb_services/cartodb_services/here/__init__.py index be7ac2e..d5ade6e 100644 --- a/server/lib/python/cartodb_services/cartodb_services/here/__init__.py +++ b/server/lib/python/cartodb_services/cartodb_services/here/__init__.py @@ -1,4 +1,4 @@ from cartodb_services.here.geocoder import HereMapsGeocoder, HereMapsGeocoderV7 from cartodb_services.here.bulk_geocoder import HereMapsBulkGeocoder, HereMapsBulkGeocoderV7 from cartodb_services.here.service_factory import get_geocoder, get_bulk_geocoder, get_routing_isoline -from cartodb_services.here.routing import HereMapsRoutingIsoline \ No newline at end of file +from cartodb_services.here.routing import HereMapsRoutingIsoline diff --git a/server/lib/python/cartodb_services/cartodb_services/here/bulk_geocoder.py b/server/lib/python/cartodb_services/cartodb_services/here/bulk_geocoder.py index f244ec6..78b9ce9 100644 --- a/server/lib/python/cartodb_services/cartodb_services/here/bulk_geocoder.py +++ b/server/lib/python/cartodb_services/cartodb_services/here/bulk_geocoder.py @@ -289,4 +289,4 @@ class HereMapsBulkGeocoderV7(HereMapsGeocoderV7, StreetPointBulkGeocoder): results.append((row['recId'], [], {})) elif row['matchLevel'] == 'FAILED': results.append((row['recId'], [], {'error': 'Bulk geocoder failed'})) - return results \ No newline at end of file + return results diff --git a/server/lib/python/cartodb_services/cartodb_services/here/routing.py b/server/lib/python/cartodb_services/cartodb_services/here/routing.py index a26fe37..cdc535e 100644 --- a/server/lib/python/cartodb_services/cartodb_services/here/routing.py +++ b/server/lib/python/cartodb_services/cartodb_services/here/routing.py @@ -43,7 +43,7 @@ class HereMapsRoutingIsoline(Traceable): self.read_timeout = service_params.get('read_timeout', self.READ_TIMEOUT) self.max_retries = service_params.get('max_retries', self.MAX_RETRIES) self._url = "{0}{1}".format(base_url, isoline_path) - + def get_api_version(self): return self.API_VERSION @@ -191,7 +191,7 @@ class HereMapsRoutingIsolineV8(Traceable): self.connect_timeout = service_params.get('connect_timeout', self.CONNECT_TIMEOUT) self.read_timeout = service_params.get('read_timeout', self.READ_TIMEOUT) self.max_retries = service_params.get('max_retries', self.MAX_RETRIES) - + def get_api_version(self): return self.API_VERSION @@ -247,7 +247,7 @@ class HereMapsRoutingIsolineV8(Traceable): 'range': 'range[values]', 'rangetype': 'range[type]', 'mode': { - 'type': 'routingmode', + 'type': 'routingmode', 'transportmodes': 'transportmode', 'trafficmode': None, 'feature': 'avoid[feature]' @@ -347,4 +347,4 @@ class HereMapsRoutingIsolineV8(Traceable): if not ('mode_traffic' in options and options['mode_traffic'] == 'enabled'): mode_params.update({'departuretime': 'any'}) - return mode_params \ No newline at end of file + return mode_params diff --git a/server/lib/python/cartodb_services/cartodb_services/here/service_factory.py b/server/lib/python/cartodb_services/cartodb_services/here/service_factory.py index e006ff7..309e5d0 100644 --- a/server/lib/python/cartodb_services/cartodb_services/here/service_factory.py +++ b/server/lib/python/cartodb_services/cartodb_services/here/service_factory.py @@ -32,4 +32,4 @@ def get_routing_isoline(logger, app_id=None, app_code=None, service_params=None, else: return HereMapsRoutingIsoline(app_id=app_id, app_code=app_code, logger=logger, - service_params=service_params) \ No newline at end of file + service_params=service_params)