Skip to content

Commit

Permalink
Fix verbosity as NoneType
Browse files Browse the repository at this point in the history
  • Loading branch information
whikloj committed Nov 20, 2019
1 parent 43bcbdf commit 5e350ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-harness
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def configure_logging(verbosity=0):
if __name__ == '__main__':
parser = argparse.ArgumentParser(description=__doc__.strip(),
formatter_class=argparse.RawDescriptionHelpFormatter)
parser.add_argument('--verbosity', '-v', action='count')
parser.add_argument('--verbosity', '-v', action='count', default=0)
parser.add_argument('test_program', metavar='TEST_PROGRAM', help='Path to an executable')
parser.add_argument('test_program_arguments', nargs='*',
help='Arguments for the test executable - e.g. --validate for bagit.py.'
Expand Down

0 comments on commit 5e350ed

Please sign in to comment.