mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-18 14:01:33 +00:00
Make britney2/utils.py PEP-8 clean
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
5a38e00996
commit
bb699f7416
@ -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())
|
||||||
@ -234,8 +235,8 @@ def write_heidi(filename, target_suite, *, outofsync_arches=frozenset(), sorted=
|
|||||||
# Faux package; not really a part of testing
|
# Faux package; not really a part of testing
|
||||||
continue
|
continue
|
||||||
if pkg.source_version and pkgarch == 'all' and \
|
if pkg.source_version and pkgarch == 'all' and \
|
||||||
pkg.source_version != sources_t[pkg.source].version and \
|
pkg.source_version != sources_t[pkg.source].version and \
|
||||||
arch in outofsync_arches:
|
arch in outofsync_arches:
|
||||||
# when architectures are marked as "outofsync", their binary
|
# when architectures are marked as "outofsync", their binary
|
||||||
# versions may be lower than those of the associated
|
# versions may be lower than those of the associated
|
||||||
# source package in testing. the binary package list for
|
# source package in testing. the binary package list for
|
||||||
|
Loading…
x
Reference in New Issue
Block a user