Update swift_rings_check script for python3

Change-Id: Ie23bef5d8335e2ada9e5c539619b8d2de301f272
This commit is contained in:
Jonathan Rosser 2019-09-11 08:43:26 +01:00
parent 7754168dbb
commit eabd0f8219
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ def get_build_file_data(build_file):
build_file_data = None
if exists(build_file):
try:
with open(build_file) as bf_stream:
with open(build_file, 'rb') as bf_stream:
build_file_data = pickle.load(bf_stream)
except Exception as ex:
print("Error: failed to load build file '%s': %s" % (build_file,