mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-03-10 02:41:10 +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)
|
||||
|
||||
# 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
|
||||
packages.extend(deferred)
|
||||
del deferred
|
||||
continue
|
||||
else: position -= 1
|
||||
|
||||
# defer packages if their dependency has been already skipped
|
||||
|
Loading…
x
Reference in New Issue
Block a user