Bug 1571566 - Fix cmake error handling in build-clang.py after python3 conversion. r=dmajor

Differential Revision: https://phabricator.services.mozilla.com/D40720
This commit is contained in:
Mike Hommey
2019-08-06 07:34:27 +09:00
parent 220a960fa5
commit 0205898e4a

View File

@@ -49,8 +49,8 @@ def check_run(args):
sys.stdout.flush()
r = p.wait()
if r != 0:
cmake_output_re = re.compile("See also \"(.*/CMakeOutput.log)\"")
cmake_error_re = re.compile("See also \"(.*/CMakeError.log)\"")
cmake_output_re = re.compile(b"See also \"(.*/CMakeOutput.log)\"")
cmake_error_re = re.compile(b"See also \"(.*/CMakeError.log)\"")
def find_first_match(re):
for l in lines: