diff options
-rw-r--r-- | pym/portage.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pym/portage.py b/pym/portage.py index 00f0822ae..1c2731086 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -1578,9 +1578,7 @@ class config: def __contains__(self, mykey): """Called to implement membership test operators (in and not in).""" - if self.has_key(mykey): - return True - return False + return bool(self.has_key(mykey)) def keys(self): mykeys=[] |