Skip to content
Snippets Groups Projects
Commit 7d47de2b authored by Guillaume Endignoux's avatar Guillaume Endignoux
Browse files

Formatting.

parent 463a289d
No related branches found
No related tags found
No related merge requests found
...@@ -273,12 +273,7 @@ class OpenSKInstaller: ...@@ -273,12 +273,7 @@ class OpenSKInstaller:
stdout = None if self.args.verbose_build else subprocess.DEVNULL stdout = None if self.args.verbose_build else subprocess.DEVNULL
try: try:
subprocess.run( subprocess.run(
cmd, cmd, stdout=stdout, timeout=None, check=True, env=env, cwd=cwd)
stdout=stdout,
timeout=None,
check=True,
env=env,
cwd=cwd)
except subprocess.CalledProcessError as e: except subprocess.CalledProcessError as e:
fatal("Failed to execute {}: {}".format(cmd[0], str(e))) fatal("Failed to execute {}: {}".format(cmd[0], str(e)))
...@@ -322,7 +317,8 @@ class OpenSKInstaller: ...@@ -322,7 +317,8 @@ class OpenSKInstaller:
rustup_target = ["rustup"] rustup_target = ["rustup"]
if self.args.verbose_build: if self.args.verbose_build:
rustup_target.extend(["--verbose"]) rustup_target.extend(["--verbose"])
rustup_target.extend(["target", "add", SUPPORTED_BOARDS[self.args.board].arch]) rustup_target.extend(
["target", "add", SUPPORTED_BOARDS[self.args.board].arch])
self.checked_command(rustup_target) self.checked_command(rustup_target)
info("Rust toolchain up-to-date") info("Rust toolchain up-to-date")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment