diff options
Diffstat (limited to 'pym/cache/metadata_overlay.py')
-rw-r--r-- | pym/cache/metadata_overlay.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/cache/metadata_overlay.py b/pym/cache/metadata_overlay.py index 673ba8dff..9320b0938 100644 --- a/pym/cache/metadata_overlay.py +++ b/pym/cache/metadata_overlay.py @@ -55,7 +55,7 @@ class database(template.database): else: del self.db_rw[cpv] - def has_key(self, cpv): + def __contains__(self, cpv): try: self[cpv] # validates whiteout when necessary except KeyError: |