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

Andreas Beckmann debian at abeckmann.de
Fri Dec 23 10:28:23 UTC 2011


The following commit has been merged in the master branch:
commit 4e232b255a85cdabd14eb836596a4fd8698e98a6
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Tue Dec 6 12:49:59 2011 +0100

    fix missing _binary_db

diff --git a/piuparts-report.py b/piuparts-report.py
index 0c3a708..a5186f3 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -662,7 +662,7 @@ class Section:
         return link
 
     def link_to_state_page(self, section, package_name, link_target):
-        if self.has_package(package_name):
+        if self._binary_db.has_package(package_name):
             state = self._binary_db.get_package_state(package_name)
             link = "<a href=\"/%s/%s\">%s</a>" % (
                 section,

-- 
piuparts git repository



More information about the Piuparts-commits mailing list