From e81d78a1d12883020abf42e6b67d4188746e79f3 Mon Sep 17 00:00:00 2001 From: soksanichenko Date: Tue, 4 Apr 2023 10:11:59 +0300 Subject: [PATCH] - The log message contains a variant's name if Pungi didn't find one or more modules for that --- pungi/phases/pkgset/sources/source_kojimock.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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}'" )