From c789288248ba016c81c5bdc736302f3adb81fa25 Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Sat, 6 Jun 2015 16:46:56 -0700 Subject: cmake: Drop unrecognized 'encoding' option to open() If encoding remains a problem, it'll make itself known soon enough. For now, this is preventing this script from executing. (bzr r14196) --- CMakeScripts/cmake_consistency_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeScripts') diff --git a/CMakeScripts/cmake_consistency_check.py b/CMakeScripts/cmake_consistency_check.py index 1e225d4ed..53026910e 100755 --- a/CMakeScripts/cmake_consistency_check.py +++ b/CMakeScripts/cmake_consistency_check.py @@ -87,7 +87,7 @@ def cmake_get_src(f): sources_h = [] sources_c = [] - filen = open(f, "r", encoding="utf8") + filen = open(f, "r") it = iter(filen) found = False i = 0 -- cgit v1.2.3