mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-18 14:01:33 +00:00
Remove an unnecessary if-statement
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
9971714e27
commit
68407c53c0
@ -239,7 +239,6 @@ class InstallabilitySolver(object):
|
|||||||
oldcons = set(chain.from_iterable(universe.negative_dependencies_of(r) for r in rms))
|
oldcons = set(chain.from_iterable(universe.negative_dependencies_of(r) for r in rms))
|
||||||
newcons = set(chain.from_iterable(universe.negative_dependencies_of(a) for a in adds))
|
newcons = set(chain.from_iterable(universe.negative_dependencies_of(a) for a in adds))
|
||||||
oldcons -= newcons
|
oldcons -= newcons
|
||||||
if oldcons:
|
|
||||||
# Some of the old binaries have "conflicts" that will
|
# Some of the old binaries have "conflicts" that will
|
||||||
# be removed.
|
# be removed.
|
||||||
for o in ifilter_only(ptable, oldcons):
|
for o in ifilter_only(ptable, oldcons):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user