Fix PEP8 warning about if not x in y

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2018-04-12 09:27:46 +02:00
parent cb3d36be5d
commit 4596020ecd

View File

@ -429,7 +429,7 @@ def populate_global_pkgset(compose, koji_wrapper, path_prefix, event_id):
# Ensure that every tag added to `variant_tags` is added also to # Ensure that every tag added to `variant_tags` is added also to
# `compose_tags`. # `compose_tags`.
for variant_tag in variant_tags[variant]: for variant_tag in variant_tags[variant]:
if not variant_tag in compose_tags: if variant_tag not in compose_tags:
compose_tags.append(variant_tag) compose_tags.append(variant_tag)
if variant.mmds: if variant.mmds: