From ac3ed3cce2dbc939ad3f19038764ea7e8baad78f Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Sat, 2 Oct 2021 14:50:11 +0300 Subject: [PATCH] Fix #307 error reporting on fetch failures --- lib/fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fetch.py b/lib/fetch.py index df85aea..bd5b63b 100644 --- a/lib/fetch.py +++ b/lib/fetch.py @@ -63,7 +63,7 @@ def fetch_all(skip_existing=True): raise output = process.communicate()[0] if process.returncode != 0: - sys.stdout.write("\nERROR:\n---\n" + output) + sys.stdout.write("\nERROR:\n---\n" + str(output)) fatal("---\nCould not fetch %s" % adptr) else: print("Done")