Make britney2/utils.py PEP-8 clean

Signed-off-by: Niels Thykier <niels@thykier.net>
ubuntu/rebased
Niels Thykier 6 years ago
parent 5a38e00996
commit bb699f7416
No known key found for this signature in database
GPG Key ID: A65B78DBE67C7AAC

@ -156,7 +156,8 @@ def read_nuninst(filename, architectures):
nuninst = {} nuninst = {}
with open(filename, encoding='ascii') as f: with open(filename, encoding='ascii') as f:
for r in f: for r in f:
if ":" not in r: continue if ":" not in r:
continue
arch, packages = r.strip().split(":", 1) arch, packages = r.strip().split(":", 1)
if arch.split("+", 1)[0] in architectures: if arch.split("+", 1)[0] in architectures:
nuninst[arch] = set(packages.split()) nuninst[arch] = set(packages.split())

Loading…
Cancel
Save