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 22, 2017
1 parent c1f9f4f commit 7f0208b
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 7f0208b

Please sign in to comment.