Fix string continuation exception

Python does not concatenate strings before performing
substitutions. Make sure that python sees the error message
as a single string.

Change-Id: Ib0561f93c76239b93000885250b3fa15ccaeb937
This commit is contained in:
Darragh Bailey 2013-11-16 15:13:07 +11:00
parent 9a45f1c0b5
commit b1c1121b16
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ def get_scenarios(fixtures_path):
# Make sure the yaml file has a xml counterpart
if xml_candidate not in files:
raise Exception(
"No XML file named '%s' to match " +
"No XML file named '%s' to match "
"YAML file '%s'" % (xml_candidate, yaml_filename))
scenarios.append((yaml_filename, {