[Piuparts-commits] [SCM] piuparts git repository branch, master, updated. eda668423fa87898c59d1075118693714aa5a053

Holger Levsen holger at layer-acht.org
Fri Dec 23 10:28:13 UTC 2011


The following commit has been merged in the master branch:
commit 949179158e7d52a81dd10af2074034574ffaa5ef
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Dec 3 17:52:41 2011 +0100

    replace one forgotten usage of state_by_name() with get_package_state()

diff --git a/piuparts-report.py b/piuparts-report.py
index d24a44c..fd7e24b 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -986,7 +986,7 @@ class Section:
                             for dep in alternatives[1:]:
                                 vlist += "<li>alternative dependency %s is %s</li>\n" % \
                                           (self.link_to_state_page(self._config.section,dep,dep),
-                                          emphasize_reason(html_protect(self._binary_db.state_by_name(dep))))
+                                          emphasize_reason(html_protect(self._binary_db.get_package_state(dep))))
                             vlist += "</ul>\n"
                     vlist += "</ul>\n"
                 vlist += "</li>\n"

-- 
piuparts git repository



More information about the Piuparts-commits mailing list