mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-17 13:31:29 +00:00
Fixed a bug in iter_packages: we dropped a package at the end of the first iteration.
This commit is contained in:
parent
6fa3cd188d
commit
a852f13834
@ -1897,11 +1897,10 @@ class Britney:
|
|||||||
pkg = packages.pop(0)
|
pkg = packages.pop(0)
|
||||||
|
|
||||||
# this is the marker for the first loop
|
# this is the marker for the first loop
|
||||||
if not mark_passed and position < 0:
|
if not compatible and not mark_passed and position < 0:
|
||||||
mark_passed = True
|
mark_passed = True
|
||||||
packages.extend(deferred)
|
packages.extend(deferred)
|
||||||
del deferred
|
del deferred
|
||||||
continue
|
|
||||||
else: position -= 1
|
else: position -= 1
|
||||||
|
|
||||||
# defer packages if their dependency has been already skipped
|
# defer packages if their dependency has been already skipped
|
||||||
|
Loading…
x
Reference in New Issue
Block a user