Skip to content

Commit 25fd41c

Browse files
authored
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.
1 parent df9f345 commit 25fd41c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/make_rpm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,14 +462,14 @@ def SaveResult(self, out_file, subrpm_out_files):
462462
subrpms_seen.add(subrpm_name)
463463
shutil.copy(p, subrpm_out_file)
464464
is_subrpm = True
465-
if self.debug or True:
465+
if self.debug:
466466
print('Saved %s sub RPM file to %s' % (
467467
subrpm_name, subrpm_out_file))
468468
break
469469

470470
if not is_subrpm:
471471
shutil.copy(p, out_file)
472-
if self.debug or True:
472+
if self.debug:
473473
print('Saved RPM file to %s' % out_file)
474474
else:
475475
print('No RPM file created.')

0 commit comments

Comments
 (0)