diff --git a/pungi/phases/pkgset/sources/source_kojimock.py b/pungi/phases/pkgset/sources/source_kojimock.py index 6391ad4f..a9558672 100644 --- a/pungi/phases/pkgset/sources/source_kojimock.py +++ b/pungi/phases/pkgset/sources/source_kojimock.py @@ -753,8 +753,9 @@ def _get_modules_from_koji_tags( # There are some module names that were listed in configuration and not # found in any tag... raise RuntimeError( - "Configuration specified patterns (%s) that don't match " - "any modules in the configured tags." % ", ".join(expected_modules) + f"Configuration specified patterns ({', '.join(expected_modules)})" + " that don't match any modules in " + f"the configured tags for variant '{variant.name}'" )