[Piuparts-commits] [SCM] piuparts git repository branch, master, updated. eda668423fa87898c59d1075118693714aa5a053
Andreas Beckmann
debian at abeckmann.de
Fri Dec 23 10:27:50 UTC 2011
The following commit has been merged in the master branch:
commit adbb5d33aafc534bc5c595492e1adbab63acf773
Author: Andreas Beckmann <debian at abeckmann.de>
Date: Fri Dec 2 10:49:25 2011 +0100
correctly update unknown-preferred-alternative state
packages in the unknown-preferred-alternative list previously had
their state set to "unknown"
Signed-off-by: Andreas Beckmann <debian at abeckmann.de>
diff --git a/piupartslib/packagesdb.py b/piupartslib/packagesdb.py
index 54bb6d6..747d29e 100644
--- a/piupartslib/packagesdb.py
+++ b/piupartslib/packagesdb.py
@@ -454,6 +454,8 @@ class PackagesDB:
self._in_state["unknown"] = todo
self._in_state["unknown-preferred-alternative"] = unpreferred_alt
+ for package_name in unpreferred_alt:
+ self._package_state[package_name] = "unknown-preferred-alternative"
for state in self._states:
self._in_state[state].sort()
--
piuparts git repository
More information about the Piuparts-commits
mailing list