From: Ciaran Gultnieks Date: Sun, 13 Mar 2016 20:49:38 +0000 (+0000) Subject: Fix python2/makebuildserver breakage X-Git-Tag: 0.7.0~84 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=bc131856d2ffc31da6606179bc2bbf4ba7b21f2e;p=fdroidserver.git Fix python2/makebuildserver breakage --- diff --git a/makebuildserver b/makebuildserver index 6570e679..dc9d1f44 100755 --- a/makebuildserver +++ b/makebuildserver @@ -303,7 +303,7 @@ wanted = [] def sha256_for_file(path): - with open(path, 'r') as f: + with open(path, 'rb') as f: s = hashlib.sha256() while True: data = f.read(4096)