Use binary mode for reading plist file, as per Python 3 docs.

This commit is contained in:
Alastair Houghton 2015-01-15 13:40:37 +00:00
parent 92f1a8180d
commit cc58f0a5e4

View File

@ -29,7 +29,7 @@ def check_structure(outdir):
assert contentsdir.isdir()
assert (contentsdir / 'Info.plist').isfile()
with open(contentsdir / 'Info.plist', 'r') as f:
with open(contentsdir / 'Info.plist', 'rb') as f:
plist = read_plist(f)
assert plist
assert len(plist)