[projects/pld-builder.new] Fix exception.
arekm
arekm at pld-linux.org
Tue Nov 9 11:01:24 CET 2021
commit 7247f320202fa0cee862d7cab45553583ce570fc
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Nov 9 10:59:39 2021 +0100
Fix exception.
client/make-request.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/client/make-request.sh b/client/make-request.sh
index e27992a..7ca0297 100755
--- a/client/make-request.sh
+++ b/client/make-request.sh
@@ -625,7 +625,7 @@ try:
headers = { "Cache-Control": "no-cache", "Pragma": "no-cache" }
req = request.Request(url=control_url + "/queue.gz", headers=headers)
f = request.urlopen(req)
-except Exception, e:
+except Exception as e:
print("Fetch error %s: %s" % (control_url + "/queue.gz", e), file=sys.stderr)
sys.exit(1)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/pld-builder.new.git/commitdiff/7247f320202fa0cee862d7cab45553583ce570fc
More information about the pld-cvs-commit
mailing list