Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
ranbena committed Oct 29, 2019
1 parent ac77587 commit e20b2b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions redash/models/parameterized_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

from six import string_types, text_type


def _pluck_name_and_value(default_column, row):
row = {k.lower(): v for k, v in row.items()}
name_column = "name" if "name" in row.keys() else default_column.lower()
Expand Down Expand Up @@ -256,5 +257,5 @@ class QueryDetachedFromDataSourceError(Exception):
def __init__(self, query_id):
self.query_id = query_id
self.message = "This query is detached from any data source. Please select a different query."
super().__init__(self.message)

super().__init__(self.message)

0 comments on commit e20b2b5

Please sign in to comment.