From 25fd41cbe22f2ef108245c8dc7080d241de95c4f Mon Sep 17 00:00:00 2001 From: peter woodman Date: Mon, 16 Sep 2024 07:21:04 -0600 Subject: [PATCH] make_rpm: suppress unconditional debug prints (#892) these look like they were left in accidentally, and they muck up build output pretty significantly as-is. --- pkg/make_rpm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/make_rpm.py b/pkg/make_rpm.py index c5a1f7d6..3e1a3f71 100644 --- a/pkg/make_rpm.py +++ b/pkg/make_rpm.py @@ -462,14 +462,14 @@ def SaveResult(self, out_file, subrpm_out_files): subrpms_seen.add(subrpm_name) shutil.copy(p, subrpm_out_file) is_subrpm = True - if self.debug or True: + if self.debug: print('Saved %s sub RPM file to %s' % ( subrpm_name, subrpm_out_file)) break if not is_subrpm: shutil.copy(p, out_file) - if self.debug or True: + if self.debug: print('Saved RPM file to %s' % out_file) else: print('No RPM file created.')