From 9a5e901cfe20504dbabe78d0cb6e913389ef5831 Mon Sep 17 00:00:00 2001 From: Haibo Lin Date: Fri, 25 Jun 2021 14:55:23 +0800 Subject: [PATCH] Log warning when module defined in variants.xml not found JIRA: RHELCMP-5573 Signed-off-by: Haibo Lin --- pungi/phases/pkgset/sources/source_koji.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pungi/phases/pkgset/sources/source_koji.py b/pungi/phases/pkgset/sources/source_koji.py index 3a0db08a..2ee955ce 100644 --- a/pungi/phases/pkgset/sources/source_koji.py +++ b/pungi/phases/pkgset/sources/source_koji.py @@ -659,7 +659,7 @@ def _get_modules_from_koji_tags( if expected_modules: # There are some module names that were listed in configuration and not # found in any tag... - raise RuntimeError( + compose.log_warning( "Configuration specified patterns (%s) that don't match " "any modules in the configured tags." % ", ".join(expected_modules) )