Skip to content

Commit

Permalink
BigQuery _EnumProperty ValueError messages are not displayed properly (
Browse files Browse the repository at this point in the history
  • Loading branch information
smasue authored and landrito committed Aug 21, 2017
1 parent 4993148 commit ef14f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bigquery/google/cloud/bigquery/_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def _validate(self, value):
:raises: ValueError if value is not allowed.
"""
if value not in self.ALLOWED:
raise ValueError('Pass one of: %s' ', '.join(self.ALLOWED))
raise ValueError('Pass one of: %s' % ', '.join(self.ALLOWED))


class UDFResource(object):
Expand Down

0 comments on commit ef14f39

Please sign in to comment.