Skip to content

Commit ac3ed3c

Browse files
committed
Fix chubin#307 error reporting on fetch failures
1 parent a18e6d8 commit ac3ed3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fetch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def _fetch_locations(known_location):
6363
raise
6464
output = process.communicate()[0]
6565
if process.returncode != 0:
66-
sys.stdout.write("\nERROR:\n---\n" + output)
66+
sys.stdout.write("\nERROR:\n---\n" + str(output))
6767
fatal("---\nCould not fetch %s" % adptr)
6868
else:
6969
print("Done")

0 commit comments

Comments
 (0)