util.py: read hashes file with rb

Change-Id: I93f9bdcadb5012089b1db016251924c3f217c624
This commit is contained in:
Mark Charney 2017-06-12 17:02:18 -04:00
parent 4347e71179
commit 62b09da335

View File

@ -460,7 +460,7 @@ def write_signatures(fn,d):
def read_signatures(fn):
"""Return a dictionary of d[file]=hash from the specified file"""
try:
f = open(fn,"r")
f = open(fn,"rb")
d = apickle.load(f)
f.close()
return d