From f3cbcdd3b08311755940cb23dae131bbed901f9c Mon Sep 17 00:00:00 2001 From: Ondřej Nosek Date: Oct 16 2024 01:02:57 +0000 Subject: `chain-build`: correct the info message The info message was missing the whole 'chain' which says what components will be built. Originally, it didn't contain the last group of components. It was confusing for users. Fixes: https://pagure.io/fedpkg/issue/567 JIRA: RHELCMP-14076 Signed-off-by: Ondřej Nosek --- diff --git a/pyrpkg/__init__.py b/pyrpkg/__init__.py index fd953b3..dfccad3 100644 --- a/pyrpkg/__init__.py +++ b/pyrpkg/__init__.py @@ -2596,8 +2596,8 @@ class Commands(object): cmd.extend(' : '.join( [' '.join(build_sets) for build_sets in chain] ).split()) - self.log.info('Chain building %s + %s for %s', - build_reference, chain[:-1], self.target) + self.log.info('Chain building %s, chain consists of %s, for %s', + build_reference, chain, self.target) self.log.debug( 'Building chain %s for %s with options %s and a priority ' 'of %s', chain, self.target, opts, priority)