diff options
Diffstat (limited to 'build_files/cmake/cmake_consistency_check.py')
-rwxr-xr-x | build_files/cmake/cmake_consistency_check.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/cmake/cmake_consistency_check.py b/build_files/cmake/cmake_consistency_check.py index 4b220316548..0883bdbf2d7 100755 --- a/build_files/cmake/cmake_consistency_check.py +++ b/build_files/cmake/cmake_consistency_check.py @@ -307,7 +307,7 @@ if UTF8_CHECK: try: for l in open(f, "r", encoding="utf8"): i += 1 - except: + except UnicodeDecodeError: print("Non utf8: %s:%d" % (f, i)) if i > 1: traceback.print_exc() |