This commit is contained in:
Kovid Goyal 2014-02-24 13:46:47 +05:30
parent 5807e56bde
commit 6dc9091911

View File

@ -311,7 +311,7 @@ def download_tarball():
os.remove(dest)
try:
with open(cached_sigf, 'wb') as f:
f.write(bytes(signature))
f.write(signature.encode('utf-8'))
except IOError as e:
if e.errno != errno.EACCES:
raise