diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-11-21 00:22:28 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-11-21 00:30:58 +0900 |
commit | 1f39c63ca8f18291b43ad0dd0a007e3951b0557d (patch) | |
tree | 4f72d373480907a759e9e87bbf96beb5476705c6 /buildstream/_frontend | |
parent | 81203b63e0cdbe3ed0b0696168a79764816b047f (diff) | |
download | buildstream-1f39c63ca8f18291b43ad0dd0a007e3951b0557d.tar.gz |
Removing unneeded str() statements in "{}".format() statements
Since these changes were effected in 3b17762a4cab23c238762ca32baa348788347473,
these stringifications are now implied and no longer needed.
Diffstat (limited to 'buildstream/_frontend')
-rw-r--r-- | buildstream/_frontend/main.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/buildstream/_frontend/main.py b/buildstream/_frontend/main.py index 63051af66..e345b268c 100644 --- a/buildstream/_frontend/main.py +++ b/buildstream/_frontend/main.py @@ -499,7 +499,7 @@ def shell(app, element, sysroot, build, command): sys.exit(exitcode) except BstError as e: click.echo("") - click.echo("Errors shelling into this pipeline: {}".format(str(e))) + click.echo("Errors shelling into this pipeline: {}".format(e)) sys.exit(-1) @@ -776,7 +776,7 @@ class App(): self.context = Context(self.main_options['option']) self.context.load(config) except BstError as e: - click.echo("Error loading user configuration: {}".format(str(e))) + click.echo("Error loading user configuration: {}".format(e)) sys.exit(-1) # Override things in the context from our command line options, @@ -834,7 +834,7 @@ class App(): try: self.project = Project(directory, self.context) except BstError as e: - click.echo("Error loading project: {}".format(str(e))) + click.echo("Error loading project: {}".format(e)) sys.exit(-1) try: @@ -847,7 +847,7 @@ class App(): remote_ticker=self.remote_ticker, cache_ticker=self.cache_ticker) except BstError as e: - click.echo("Error loading pipeline: {}".format(str(e))) + click.echo("Error loading pipeline: {}".format(e)) sys.exit(-1) # Create our status printer, only available in interactive |