[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 14281b3925fa2ba6d704de7a81f26e4efb110043

Holger Levsen holger at layer-acht.org
Mon Nov 21 18:12:26 UTC 2011


The following commit has been merged in the develop branch:
commit 009984c006b2f704cdd30481d6673293afa8c826
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Mon Nov 21 15:17:44 2011 +0100

    resolve virtual packages when linking
    
    in link_to_state_page() resolve virtual package names to
    real packages so that the links work
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/piuparts-report.py b/piuparts-report.py
index a7699f7..e62773c 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -650,7 +650,7 @@ class Section:
         if state != "unknown":
             link = "<a href=\"/%s/%s\">%s</a>" % (
                 section,
-                "state-"+state+".html"+"#"+package_name,
+                "state-"+state+".html"+"#"+self._binary_db._packages[package_name]["Package"],
                 link_target)
         else:
           if link_target == package_name:

-- 
piuparts git repository



More information about the Piuparts-commits mailing list