Merge "Log that the check does not understand the extension when verbose"

This commit is contained in:
Jenkins 2014-09-05 05:12:00 +00:00 committed by Gerrit Code Review
commit a2f8025e96
1 changed files with 4 additions and 3 deletions

View File

@ -243,9 +243,10 @@ def main():
pass
else:
if not extension_matcher.match(f.extension):
print(" Skipping check '%s' since it does not understand"
" parsing a file with extension '%s'"
% (check_name, f.extension))
if args.get('verbose'):
print(" Skipping check '%s' since it does not"
" understand parsing a file with extension '%s'"
% (check_name, f.extension))
continue
try:
reports = set(c.REPORTS)