commit | 54297bb4c75c8592c4d0818436fbaaafa4bdb49b | [log] [tgz] |
---|---|---|
author | Jakob Buchgraber <buchgr@google.com> | Fri Mar 02 15:38:27 2018 +0100 |
committer | Jakob Buchgraber <buchgr@google.com> | Fri Mar 02 15:38:52 2018 +0100 |
tree | 3dc6e9a9ac65aae21382498e55bd97bd8c3c16a1 | |
parent | 1a6bb34f514872f6e88a7835b499fc9e91ab6e60 [diff] |
use utf-8 encoding when parsing the BEP
diff --git a/buildkite/bazelci.py b/buildkite/bazelci.py index c448409..fb7be10 100644 --- a/buildkite/bazelci.py +++ b/buildkite/bazelci.py
@@ -521,7 +521,7 @@ def bes_invocation_id(bep_file): targets = [] raw_data = "" - with open(bep_file) as f: + with open(bep_file, encoding="utf-8") as f: raw_data = f.read() decoder = json.JSONDecoder()