[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 389270785fa684c193e7e386d0aae9c1f12f54b6

Andreas Beckmann debian at abeckmann.de
Tue Dec 6 17:20:10 UTC 2011


The following commit has been merged in the piatti 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