summaryrefslogtreecommitdiffstats
path: root/pym/cache/sqlite.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/cache/sqlite.py')
-rw-r--r--pym/cache/sqlite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/cache/sqlite.py b/pym/cache/sqlite.py
index 5c1bfa266..0c3670c2f 100644
--- a/pym/cache/sqlite.py
+++ b/pym/cache/sqlite.py
@@ -223,7 +223,7 @@ class database(fs_template.FsBased):
else:
raise cache_errors.CacheCorruption(cpv, "key is not unique")
- def iterkeys(self):
+ def __iter__(self):
"""generator for walking the dir struct"""
cursor = self._db_cursor
cursor.execute("SELECT %s FROM %s" % \