fix flake8 errors

This commit is contained in:
Solvik Blum 2020-05-22 13:23:28 +02:00
parent bd5b45fc6d
commit 29d2bff805
2 changed files with 5 additions and 3 deletions

View file

@ -86,8 +86,10 @@ class LSHW():
elif "nvme" in obj["configuration"]["driver"]:
nvme = json.loads(
subprocess.check_output(["nvme", '-list', '-o', 'json'],
encoding='utf8')) # noqa: E128
subprocess.check_output(
["nvme", '-list', '-o', 'json'],
encoding='utf8')
)
d = {}
d["vendor"] = obj["vendor"]