]> code.ossystems Code Review - openembedded-core.git/commitdiff
buildhistory-diff: honour report_all flag
authorAnuj Mittal <anuj.mittal@intel.com>
Fri, 23 Feb 2018 10:55:59 +0000 (18:55 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 24 Feb 2018 10:33:12 +0000 (10:33 +0000)
Make sure that we're passing a bool value. Without this, buildhistory
shows all the output for all the keys/fields when it shouldn't be by
default.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/buildhistory-diff

index 27974072fcb12fab9eb7b1e9eda055f0c1d23aa0..70805b0678b4ebb152ddb26cd4d72e5288df7212 100755 (executable)
@@ -38,7 +38,7 @@ def get_args_parser():
     parser.add_argument('-a', '--report-all',
                         action='store_true',
                         dest='report_all',
-                        default='False',
+                        default=False,
                         help="Report all changes, not just the default significant ones")
     parser.add_argument('-s', '---signatures',
                         action='store_true',