aboutsummaryrefslogtreecommitdiff
path: root/scripts/rpki/https.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2007-09-17 22:00:08 +0000
committerRob Austein <sra@hactrn.net>2007-09-17 22:00:08 +0000
commitf8dbec35dc669ec58d5018ad5b5a73b2cc395551 (patch)
tree11dcfe5d09321fbf214032cc42c02d5691578131 /scripts/rpki/https.py
parent915182363d6ecef54eeb9d74f9b4ba3e41f4897b (diff)
Convert integer XML attributes automatically. Recognize PEM objects
automatically. Debug, clean, hack.... svn path=/scripts/irbe-cli.py; revision=983
Diffstat (limited to 'scripts/rpki/https.py')
-rw-r--r--scripts/rpki/https.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/rpki/https.py b/scripts/rpki/https.py
index 7d628490..eec5b81d 100644
--- a/scripts/rpki/https.py
+++ b/scripts/rpki/https.py
@@ -32,7 +32,6 @@ def client(msg, privateKey, certChain, x509TrustList, host="localhost", port=443
return response.read()
else:
r = response.read()
- print "ERROR: Got:", response.status, r
raise RuntimeError, (response.status, r)
class requestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
@@ -55,7 +54,6 @@ class requestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
try:
rcode, rtext = handler(query=query_string, path=self.path)
except Exception, edata:
- raise
rcode, rtext = 500, "Unhandled exception %s" % edata
self.send_response(rcode)
self.send_header("Content-Type", rpki_content_type)