From 011bba1a583882714d44892354e0a3e8c85e6fcd Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 25 Sep 2020 09:25:28 +0530 Subject: [PATCH] More py3 compat --- setup/upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/upload.py b/setup/upload.py index f0d42d4f84..27d596bab9 100644 --- a/setup/upload.py +++ b/setup/upload.py @@ -73,7 +73,7 @@ def upload_signatures(): raw = f.read() fingerprint = hashlib.sha512(raw).hexdigest() sha512 = os.path.join(tdir, os.path.basename(installer + '.sha512')) - with open(sha512, 'wb') as f: + with open(sha512, 'w') as f: f.write(fingerprint) scp.append(sha512) for srv in 'code main'.split():