diff options
author | Thomas Kahle <thomas.kahle@jpberlin.de> | 2015-06-21 09:16:47 +0200 |
---|---|---|
committer | Thomas Kahle <thomas.kahle@jpberlin.de> | 2015-06-21 09:16:47 +0200 |
commit | dc74dad4648c2ab37237fcdf398bb4ca75666432 (patch) | |
tree | 30c49419fd65af76622722561823adcfad9955e8 /tatt | |
parent | Fix string encoding issues for python3 (diff) | |
download | tatt-dc74dad4648c2ab37237fcdf398bb4ca75666432.tar.gz tatt-dc74dad4648c2ab37237fcdf398bb4ca75666432.tar.bz2 tatt-dc74dad4648c2ab37237fcdf398bb4ca75666432.zip |
Fix one more string decoding for python3
Diffstat (limited to 'tatt')
-rw-r--r-- | tatt/tinderbox.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tatt/tinderbox.py b/tatt/tinderbox.py index ad6669e..39f57ec 100644 --- a/tatt/tinderbox.py +++ b/tatt/tinderbox.py @@ -32,7 +32,7 @@ def stablerdeps (package, config): socket.setdefaulttimeout(45) try: - download = urlopen(tinderbox + atom).read() + download = urlopen(tinderbox + atom).read().decode('utf-8') except HTTPError as e: # Cleanup the timeout: socket.setdefaulttimeout(None) |