[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 39b41485a20140566b11e31b01d5b3711ee494f0

Holger Levsen holger at layer-acht.org
Sat Dec 3 16:57:44 UTC 2011


The following commit has been merged in the develop branch:
commit 39b41485a20140566b11e31b01d5b3711ee494f0
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 381a250..ed3183e 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -982,7 +982,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