Log that the check does not understand the extension when verbose
Instead of always printing that the check was skipped when in non verbose mode, log/print it only when verbose mode is enabled and not otherwise. Change-Id: I0190b9d82568fb18871591d64ec6bd4695751367
This commit is contained in:
@@ -243,8 +243,9 @@ def main():
|
|||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
if not extension_matcher.match(f.extension):
|
if not extension_matcher.match(f.extension):
|
||||||
print(" Skipping check '%s' since it does not understand"
|
if args.get('verbose'):
|
||||||
" parsing a file with extension '%s'"
|
print(" Skipping check '%s' since it does not"
|
||||||
|
" understand parsing a file with extension '%s'"
|
||||||
% (check_name, f.extension))
|
% (check_name, f.extension))
|
||||||
continue
|
continue
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user