[Piuparts-commits] [SCM] piuparts git repository branch, master, updated. eda668423fa87898c59d1075118693714aa5a053
Holger Levsen
holger at layer-acht.org
Fri Dec 23 10:28:07 UTC 2011
The following commit has been merged in the master branch:
commit ccfae2493092dbdf189ab96fedecfb4dbfcb9e98
Author: Holger Levsen <holger at layer-acht.org>
Date: Sat Dec 3 10:48:21 2011 +0100
packages in state does-not-exist also have no state pages. not sure if this is enough to fix link_to_state_page()
diff --git a/piuparts-report.py b/piuparts-report.py
index 0cb3d6c..4eab11d 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -663,7 +663,7 @@ class Section:
def link_to_state_page(self, section, package_name, link_target):
state = self._binary_db.get_package_state(package_name)
- if state != "unknown":
+ if state != "unknown" and state != "does-not-exist":
link = "<a href=\"/%s/%s\">%s</a>" % (
section,
"state-"+state+".html"+"#"+self._binary_db._packages[package_name]["Package"],
--
piuparts git repository
More information about the Piuparts-commits
mailing list