Commit af832447 authored by Vincent Pelletier's avatar Vincent Pelletier

wsgi: Trivial style improvement.

parent f45b2f15
......@@ -412,13 +412,7 @@ class Application(object):
csr_id = context.appendCertificateSigningRequest(self._read(environ))
except exceptions.NotACertificateSigningRequest:
raise BadRequest('Not a valid certificate signing request')
return (
STATUS_CREATED,
[
('Location', str(csr_id)),
],
[],
)
return (STATUS_CREATED, [('Location', str(csr_id))], [])
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