diff --git a/pungi/phases/pkgset/sources/source_koji.py b/pungi/phases/pkgset/sources/source_koji.py index 8f275ad3..5e6b2e56 100644 --- a/pungi/phases/pkgset/sources/source_koji.py +++ b/pungi/phases/pkgset/sources/source_koji.py @@ -96,8 +96,7 @@ def get_module(session, module_info, strict=False): # returned, but otherwise we have to pick the one with the highest # release ourselves. if 'variant_release' in query: - assert len(retval) <= 1, compose.log_error( - "More than one module returned from PDC: %s" % str(retval)) + assert len(retval) <= 1, "More than one module returned from PDC: %s" % retval module = retval[0] else: module = retval[0]