summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-05-01 20:46:39 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-05-01 20:46:39 +0200
commita28492883e6d11b79856a14b4da5d1074e42f99f (patch)
tree83aa5cca70408a9e246e7796f119800070fe0c4f /portato
parent57fdab2f3e379d0e2ab7a3a394f3ff129f3efa34 (diff)
downloadportato-a28492883e6d11b79856a14b4da5d1074e42f99f.tar.gz
portato-a28492883e6d11b79856a14b4da5d1074e42f99f.tar.bz2
portato-a28492883e6d11b79856a14b4da5d1074e42f99f.zip
Fixed small bug
Diffstat (limited to '')
-rw-r--r--portato/gui/utils.py2
1 files changed, 1 insertions, 1 deletions
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)