Skip to contentSkip to conversation

buildhistory-diff: honour report_all flag

PATCH New Anuj Mittal 1 participant 1 message Feb 23, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 buildhistory-diff: honour report_all flag

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.

---
 scripts/buildhistory-diff | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/buildhistory-diff +1 -1
index 2797407..70805b0 100755
@@ -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',
Signature · 1 line
2.7.4