Commit af832447 authored by Vincent Pelletier's avatar Vincent Pelletier

wsgi: Trivial style improvement.

parent f45b2f15
...@@ -412,13 +412,7 @@ class Application(object): ...@@ -412,13 +412,7 @@ class Application(object):
csr_id = context.appendCertificateSigningRequest(self._read(environ)) csr_id = context.appendCertificateSigningRequest(self._read(environ))
except exceptions.NotACertificateSigningRequest: except exceptions.NotACertificateSigningRequest:
raise BadRequest('Not a valid certificate signing request') raise BadRequest('Not a valid certificate signing request')
return ( return (STATUS_CREATED, [('Location', str(csr_id))], [])
STATUS_CREATED,
[
('Location', str(csr_id)),
],
[],
)
def deletePendingCertificateRequest(self, context, environ, subpath): def deletePendingCertificateRequest(self, context, environ, subpath):
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment