From a28492883e6d11b79856a14b4da5d1074e42f99f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Thu, 1 May 2008 20:46:39 +0200 Subject: Fixed small bug --- portato/gui/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'portato') diff --git a/portato/gui/utils.py b/portato/gui/utils.py index 151ec22..dc9b9f3 100644 --- a/portato/gui/utils.py +++ b/portato/gui/utils.py @@ -204,7 +204,7 @@ class Database (object): else: ninst = [] for pkg in self._db[cat]: - if pkg[2]: + if pkg.inst: yield pkg else: ninst.append(pkg) -- cgit v1.2.3