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

Fix pylint

parent e63482af
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,7 @@ import subprocess ...@@ -28,6 +28,7 @@ import subprocess
import sys import sys
import colorama import colorama
from six.moves import input
from tockloader import tab from tockloader import tab
from tockloader import tbfh from tockloader import tbfh
from tockloader import tockloader as loader from tockloader import tockloader as loader
...@@ -292,7 +293,7 @@ class OpenSKInstaller: ...@@ -292,7 +293,7 @@ class OpenSKInstaller:
# Need to update # Need to update
self.checked_command_output( self.checked_command_output(
["rustup", "install", target_toolchain_fullstring]) ["rustup", "install", target_toolchain_fullstring])
targets = set([x.arch for _, x in SUPPORTED_BOARDS.items()]) targets = {x.arch for x in SUPPORTED_BOARDS.values()}
for arch in targets: for arch in targets:
self.checked_command_output(["rustup", "target", "add", arch]) self.checked_command_output(["rustup", "target", "add", arch])
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