diff options
author | Pavel Moravec <pmoravec@redhat.com> | 2015-09-18 09:25:39 +0200 |
---|---|---|
committer | Adam Stokes <adam.stokes@ubuntu.com> | 2015-09-29 20:22:45 -0400 |
commit | c607cac7256ced5d1396ae61591f9eae4a9d385f (patch) | |
tree | 960e78a047ecc7fd1145294d5b1777563125aae0 /Makefile | |
parent | 237d81696eff1a582686c80045e54db5b177d6ab (diff) | |
download | sos-c607cac7256ced5d1396ae61591f9eae4a9d385f.tar.gz |
[sosreport] fix command-line report defaults
opts.report is True regardless of using --no-report option or not. That
means the test "if not self.opts.report:" to decide generation of
reports is evaluated to False every time and no report is generated any
time.
This commit renames opts.report and SoSOptions._report to noreport (to
get rid of the variable name confusion) and updates default value
accordingly.
Resolves #625
Closes #644
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions