From 1fc7660b34216b6abf0e7fa65635507593166319 Mon Sep 17 00:00:00 2001 From: Samuel Masue Date: Fri, 23 Jun 2017 16:40:53 +0200 Subject: [PATCH] BigQuery _EnumProperty ValueError messages are not displayed properly --- bigquery/google/cloud/bigquery/_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigquery/google/cloud/bigquery/_helpers.py b/bigquery/google/cloud/bigquery/_helpers.py index 7557111d100e..6641fbe01b42 100644 --- a/bigquery/google/cloud/bigquery/_helpers.py +++ b/bigquery/google/cloud/bigquery/_helpers.py @@ -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):