mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-07-08 15:01:28 +00:00
solver: Invert an if-statement to reduce max indentation level
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
68407c53c0
commit
b61e1086bd
@ -267,7 +267,9 @@ class InstallabilitySolver(object):
|
|||||||
scc_id = com[0]
|
scc_id = com[0]
|
||||||
scc[scc_id] = com
|
scc[scc_id] = com
|
||||||
merged[scc_id] = scc_id
|
merged[scc_id] = scc_id
|
||||||
if len(com) > 1:
|
if len(com) < 2:
|
||||||
|
# Trivial case
|
||||||
|
continue
|
||||||
so_before = order[scc_id]['before']
|
so_before = order[scc_id]['before']
|
||||||
so_after = order[scc_id]['after']
|
so_after = order[scc_id]['after']
|
||||||
for n in com:
|
for n in com:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user