Skip to content

Commit

Permalink
PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
seanh committed Dec 16, 2014
1 parent 75957ff commit 61faa27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/datastore/db.py
Expand Up @@ -636,7 +636,7 @@ def upsert_data(context, data_dict):
except sqlalchemy.exc.DataError as err:
raise InvalidDataError(
toolkit._("The data was invalid (for example: a numeric value "
"is out of range)."))
"is out of range)."))

elif method in [_UPDATE, _UPSERT]:
unique_keys = _get_unique_key(context, data_dict)
Expand Down

0 comments on commit 61faa27

Please sign in to comment.