diff options
author | Aaron Bauman <bman@gentoo.org> | 2020-08-06 00:05:20 -0400 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2020-08-05 23:06:07 -0700 |
commit | 897be5c2874ed3edda7b3af84e6ddb34c3095b71 (patch) | |
tree | 008fc34961b232d0ce57c102de0e93a81622e7b4 /lib/portage/manifest.py | |
parent | pylintrc: enable multiple-imports check (diff) | |
download | portage-897be5c2874ed3edda7b3af84e6ddb34c3095b71.tar.gz portage-897be5c2874ed3edda7b3af84e6ddb34c3095b71.tar.bz2 portage-897be5c2874ed3edda7b3af84e6ddb34c3095b71.zip |
lib/*: fix superfluous-parens and enable check
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'lib/portage/manifest.py')
-rw-r--r-- | lib/portage/manifest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/portage/manifest.py b/lib/portage/manifest.py index d43f7d836..51a93b35e 100644 --- a/lib/portage/manifest.py +++ b/lib/portage/manifest.py @@ -421,7 +421,7 @@ class Manifest: def hasFile(self, ftype, fname): """ Return whether the Manifest contains an entry for the given type,filename pair """ - return (fname in self.fhashdict[ftype]) + return fname in self.fhashdict[ftype] def findFile(self, fname): """ Return entrytype of the given file if present in Manifest or None if not present """ |