Support test-tidy --faster with moved files.

This commit is contained in:
Ms2ger 2016-05-18 11:07:26 +02:00
parent c057ace251
commit c652995d16

View file

@ -585,6 +585,9 @@ def collect_errors_for_files(files_to_check, checking_functions, line_checking_f
if print_text:
print '\rChecking files for tidiness...'
for filename in files_to_check:
if not os.path.exists(filename):
continue
with open(filename, "r") as f:
contents = f.read()
for check in checking_functions: