summaryrefslogtreecommitdiffstats
path: root/pym/cache/flat_list.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/cache/flat_list.py')
-rw-r--r--pym/cache/flat_list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/cache/flat_list.py b/pym/cache/flat_list.py
index 65fe5a781..85efa4c02 100644
--- a/pym/cache/flat_list.py
+++ b/pym/cache/flat_list.py
@@ -82,7 +82,7 @@ class database(fs_template.FsBased):
raise cache_errors.CacheCorruption(cpv, e)
- def has_key(self, cpv):
+ def __contains__(self, cpv):
return os.path.exists(os.path.join(self._base, cpv))