summaryrefslogtreecommitdiff
path: root/buildstream/_frontend/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_frontend/main.py')
-rw-r--r--buildstream/_frontend/main.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/buildstream/_frontend/main.py b/buildstream/_frontend/main.py
index 4e00a2be1..46cc7a9ca 100644
--- a/buildstream/_frontend/main.py
+++ b/buildstream/_frontend/main.py
@@ -497,7 +497,7 @@ def shell(app, element, sysroot, build, command):
sys.exit(exitcode)
except BstError as e:
click.echo("")
- click.echo("Errors shelling into this pipeline: %s" % str(e))
+ click.echo("Errors shelling into this pipeline: {}".format(str(e)))
sys.exit(-1)
@@ -773,7 +773,7 @@ class App():
self.context = Context(self.main_options['option'])
self.context.load(config)
except BstError as e:
- click.echo("Error loading user configuration: %s" % str(e))
+ click.echo("Error loading user configuration: {}".format(str(e)))
sys.exit(-1)
# Override things in the context from our command line options,
@@ -831,7 +831,7 @@ class App():
try:
self.project = Project(directory, self.context)
except BstError as e:
- click.echo("Error loading project: %s" % str(e))
+ click.echo("Error loading project: {}".format(str(e)))
sys.exit(-1)
try:
@@ -844,7 +844,7 @@ class App():
remote_ticker=self.remote_ticker,
cache_ticker=self.cache_ticker)
except BstError as e:
- click.echo("Error loading pipeline: %s" % str(e))
+ click.echo("Error loading pipeline: {}".format(str(e)))
sys.exit(-1)
# Create our status printer, only available in interactive