Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit cb6f7ba

Browse files
JohnVillalovosgrgustaf
authored andcommitted
[analyze] Change args.verbose comparison to integer (#1843)
In commit 490ff66 the args.verbose parameter was changed to an integer value but the comparison was still using a string comparison. Change it to compare with an integer value so that --verbose=1 works and will print extra output. Signed-off-by: John L. Villalovos <[email protected]>
1 parent 0ae1d62 commit cb6f7ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/analyze

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def main():
8787

8888
def do_print(s):
8989
"""Debug print controlled with V option"""
90-
if args.verbose == '1':
90+
if args.verbose == 1:
9191
p = pprint.PrettyPrinter(indent=1)
9292
p.pprint(s)
9393

0 commit comments

Comments
 (0)