From 7293291a408aaf12e19e3a15782434ac37f4ffd1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 27 Feb 2015 15:41:50 +1100 Subject: cleanup: typos --- build_files/cmake/cmake_consistency_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build_files/cmake/cmake_consistency_check.py') 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() -- cgit v1.2.3