Skip to content

Commit

Permalink
make_rpm: suppress unconditional debug prints (#892)
Browse files Browse the repository at this point in the history
these look like they were left in accidentally, and they muck up build
output pretty significantly as-is.
  • Loading branch information
pjjw committed Sep 16, 2024
1 parent df9f345 commit 25fd41c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/make_rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.')
Expand Down

0 comments on commit 25fd41c

Please sign in to comment.