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:
parent
9a45f1c0b5
commit
b1c1121b16
@ -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, {
|
||||
|
Loading…
Reference in New Issue
Block a user