Skip to content

Commit 30ace60

Browse files
committed
Make string formatting args actually a tuple.
Addresses: #1580 (comment)
1 parent 40a72be commit 30ace60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gcloud/_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ def _name_from_project_path(path, project, template):
416416
match = template.match(path)
417417

418418
if not match:
419-
raise ValueError('path did not match: %s' % (template.pattern))
419+
raise ValueError('path did not match: %s' % (template.pattern,))
420420

421421
found_project = match.group('project')
422422
if found_project != project:

0 commit comments

Comments
 (0)