Update swift_rings_check script for python3
Change-Id: Ie23bef5d8335e2ada9e5c539619b8d2de301f272
This commit is contained in:
parent
7754168dbb
commit
eabd0f8219
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user