mirror of https://github.com/bazelbuild/rules_pkg
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.
This commit is contained in:
parent
df9f345aa2
commit
25fd41cbe2
|
@ -462,14 +462,14 @@ class RpmBuilder(object):
|
|||
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.')
|
||||
|
|
Loading…
Reference in New Issue