Skip to content
Snippets Groups Projects
Commit 7516bada authored by Jean-Michel Picod's avatar Jean-Michel Picod
Browse files

Fix formating because of new style in yapf

parent 5ea58bc0
Branches
No related tags found
No related merge requests found
......@@ -291,8 +291,8 @@ class OpenSKInstaller:
# empty value.
target_toolchain.append("")
current_version = self.checked_command_output(["rustc", "--version"])
if not all((target_toolchain[0] in current_version,
target_toolchain[1] in current_version)):
if not (target_toolchain[0] in current_version and
target_toolchain[1] in current_version):
info("Updating rust toolchain to {}".format("-".join(target_toolchain)))
# Need to update
self.checked_command_output(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment