diff options
Diffstat (limited to 'buildstream/_variables.py')
-rw-r--r-- | buildstream/_variables.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_variables.py b/buildstream/_variables.py index 15e5ecac1..fa73006e6 100644 --- a/buildstream/_variables.py +++ b/buildstream/_variables.py @@ -159,7 +159,7 @@ class Variables(): summary += line.format(unmatched=unmatch, variable=var, provenance=provenance) raise LoadError(LoadErrorReason.UNRESOLVED_VARIABLE, - "Failed to resolve one or more variable:\n%s" % summary) + "Failed to resolve one or more variable:\n{}".format(summary)) last_unmatched = unmatched |