[Reproducible-commits] [misc] 01/01: decode on python3 (thanks pinkieval)
Chris West
faux-guest at moszumanska.debian.org
Mon Jul 27 20:23:32 UTC 2015
This is an automated email from the git hooks/post-receive script.
faux-guest pushed a commit to branch master
in repository misc.
commit a5bab99920a52056e47dfbc5382f3067df35f867
Author: Chris West (Faux) <git at goeswhere.com>
Date: Mon Jul 27 21:23:28 2015 +0100
decode on python3 (thanks pinkieval)
---
unreproducible-installed | 2 ++
1 file changed, 2 insertions(+)
diff --git a/unreproducible-installed b/unreproducible-installed
index eeef418..9ff9b17 100755
--- a/unreproducible-installed
+++ b/unreproducible-installed
@@ -34,6 +34,8 @@ for filename in FILE_NAMES:
break
else: # If no recent file has been found, download the data
response = urlopen(URL).read()
+ if sys.version_info[0] >= 3:
+ response = response.decode('utf-8')
if os.path.isfile(SAVE_TO):
os.unlink(SAVE_TO)
with open(SAVE_TO, 'a') as fd:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git
More information about the Reproducible-commits
mailing list