mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
sb/reports: add sanitize parameter enabled for --mail
Adds a --sanitize option to command line for reports.py and also for the reports.report() interface from setbuilder.py to remove the Remotes information from git. Closes #3887.
This commit is contained in:
@@ -189,7 +189,7 @@ class buildset:
|
||||
outname = path.host(path.join(outpath, name))
|
||||
else:
|
||||
outname = None
|
||||
r = reports.report(format, self.configs,
|
||||
r = reports.report(format, False, self.configs,
|
||||
copy.copy(opts), copy.copy(macros))
|
||||
r.introduction(_build.config.file_name())
|
||||
r.generate(_build.config.file_name())
|
||||
@@ -199,7 +199,7 @@ class buildset:
|
||||
r.write(outname)
|
||||
del r
|
||||
if mail:
|
||||
r = reports.report('text', self.configs,
|
||||
r = reports.report('text', True, self.configs,
|
||||
copy.copy(opts), copy.copy(macros))
|
||||
r.introduction(_build.config.file_name())
|
||||
r.generate(_build.config.file_name())
|
||||
|
Reference in New Issue
Block a user