summaryrefslogtreecommitdiff
path: root/portato/db
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-02-02 12:26:31 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-02-02 12:26:31 +0100
commit7d7cccefa1373570791bde516dd90f5055888481 (patch)
treecf92a9871100a6a2a0ebd100a505e0395bf97b9d /portato/db
parentf9fd4bbbe6778d27591c767c634e796a7054931e (diff)
downloadportato-7d7cccefa1373570791bde516dd90f5055888481.tar.gz
portato-7d7cccefa1373570791bde516dd90f5055888481.tar.bz2
portato-7d7cccefa1373570791bde516dd90f5055888481.zip
find -> index
Diffstat (limited to '')
-rw-r--r--portato/db/dict.py2
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):