Skip to content

Commit

Permalink
Fixing PEP8 formatting from CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
jrods committed Aug 12, 2016
1 parent 6033811 commit 8a21ed8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ckanext/reclineview/plugin.py
Expand Up @@ -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
Expand Down

0 comments on commit 8a21ed8

Please sign in to comment.