More py3 compat

This commit is contained in:
Kovid Goyal 2020-09-25 09:25:28 +05:30
parent bb3a1f700d
commit 011bba1a58
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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():