From 8a21ed8e58f9d82d3e06b69620b2335c9de4b8ba Mon Sep 17 00:00:00 2001 From: Jared Smith Date: Thu, 11 Aug 2016 10:03:44 -0700 Subject: [PATCH] Fixing PEP8 formatting from CircleCI --- ckanext/reclineview/plugin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ckanext/reclineview/plugin.py b/ckanext/reclineview/plugin.py index be88b7a7b83..ed31c97451e 100644 --- a/ckanext/reclineview/plugin.py +++ b/ckanext/reclineview/plugin.py @@ -12,14 +12,16 @@ natural_number_validator = p.toolkit.get_validator('natural_number_validator') Invalid = p.toolkit.Invalid + def get_mapview_config(): ''' - Extracts and returns map view configuration of the reclineview extension. + Extracts and returns map view configuration of the reclineview extension. ''' namespace = 'ckanext.reclineview.mapview.' return dict([(k.replace(namespace, ''), v) for k, v in config.iteritems() if k.startswith(namespace)]) + def in_list(list_possible_values): ''' Validator that checks that the input value is one of the given