]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
Fix exception.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 9 Nov 2021 09:59:39 +0000 (10:59 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 9 Nov 2021 09:59:39 +0000 (10:59 +0100)
client/make-request.sh

index e27992a8eb797db68664d30d20b92904d2cd025c..7ca0297f9e0dbda7e80026d6cb38a6a43cd988d7 100755 (executable)
@@ -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)
 
This page took 0.254065 seconds and 4 git commands to generate.