Merge "Explicitly set default to 0 for quiet argument in validate-files script"

This commit is contained in:
Zuul 2017-12-13 19:10:22 +00:00 committed by Gerrit Code Review
commit 8567ac77c8
1 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,9 @@ def parse_args():
p.add_argument('--quiet', '-q',
action='count',
# TODO(akrivoka): Python3 sets this default to None instead
# of 0. Remove this when this bug is fixed in Python3.
default=0,
help='output warnings and errors (-q) or only errors (-qq)')
p.add_argument('path_args',