From 094c1e64a0ec84a5487828d3145dbc7e674f0f23 Mon Sep 17 00:00:00 2001 From: Magnus Ahltorp Date: Wed, 10 Jun 2015 00:50:23 +0200 Subject: Don't exit on signing error --- tools/certtools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/certtools.py b/tools/certtools.py index 045bc55..7796a2c 100644 --- a/tools/certtools.py +++ b/tools/certtools.py @@ -326,7 +326,7 @@ def get_signature(baseurl, data, key=None): return base64.b64decode(parsed_result.get(u"result")) except urllib2.HTTPError, e: print "ERROR: get_signature", e.read() - sys.exit(1) + raise e def create_signature(baseurl, data, key=None): unpacked_signature = get_signature(baseurl, data, key) -- cgit v1.1