summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2015-06-10 00:50:23 +0200
committerMagnus Ahltorp <map@kth.se>2015-06-10 17:09:45 +0200
commit094c1e64a0ec84a5487828d3145dbc7e674f0f23 (patch)
tree2e0f646f686f4c058ec37d71fcaa73966ea70f07
parentd33874872c8c570b8921d28263334c75f61c870c (diff)
Don't exit on signing error
-rw-r--r--tools/certtools.py2
1 files changed, 1 insertions, 1 deletions
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)