fix pep8 E713

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent e61a1b2d
......@@ -263,7 +263,7 @@ class DotBuildinfoFile(DebControlFile):
# We can parse .buildinfo files just like .dsc
buildinfo = Dsc(f)
if not 'Checksums-Sha256' in buildinfo:
if 'Checksums-Sha256' not in buildinfo:
return False
for d in buildinfo.get('Checksums-Sha256'):
......
......@@ -464,7 +464,7 @@ class ElfContainer(Container):
if not hasattr(deb.container, 'dbgsym_build_id_map'):
deb.container.dbgsym_build_id_map = get_build_id_map(deb.container)
if not build_id in deb.container.dbgsym_build_id_map:
if build_id not in deb.container.dbgsym_build_id_map:
logger.debug('Unable to find a matching debug package for Build Id %s', build_id)
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment