Fixed a bug in iter_packages: we dropped a package at the end of the first iteration.

bzr-import-20160707
Fabio Tranchitella 19 years ago
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…
Cancel
Save