diff options
Diffstat (limited to 'misc/pep8.py')
-rw-r--r-- | misc/pep8.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/pep8.py b/misc/pep8.py index 3b6248c2..fef8a546 100644 --- a/misc/pep8.py +++ b/misc/pep8.py @@ -647,7 +647,7 @@ def input_file(filename): Run all checks on a Python source file. """ if excluded(filename) or not filename_match(filename): - return {} + return 0 if options.verbose: message('checking ' + filename) options.counters['files'] = options.counters.get('files', 0) + 1 |