diff options
Diffstat (limited to 'portato')
-rw-r--r-- | portato/db/dict.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/db/dict.py b/portato/db/dict.py index 422246f..fd859dd 100644 --- a/portato/db/dict.py +++ b/portato/db/dict.py @@ -129,7 +129,7 @@ class DictDatabase (Database): cat, pkg = cpv.split("/") c = self._db[cat] - p = c[c.find(PkgData(cat, pkg))] + p = c[c.index(PkgData(cat, pkg))] p.disabled = True def get_restrict (self): |