mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fixed compatability break in rpcserver.py
This commit is contained in:
parent
5ad91a0781
commit
ce8be42c56
@ -98,7 +98,7 @@ class WSGIExecutioner(Executioner):
|
|||||||
self.url = self.env.mount_ipa + url
|
self.url = self.env.mount_ipa + url
|
||||||
super(WSGIExecutioner, self).finalize()
|
super(WSGIExecutioner, self).finalize()
|
||||||
|
|
||||||
def execute(self, environ):
|
def wsgi_execute(self, environ):
|
||||||
result = None
|
result = None
|
||||||
error = None
|
error = None
|
||||||
_id = None
|
_id = None
|
||||||
@ -138,7 +138,7 @@ class WSGIExecutioner(Executioner):
|
|||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
status = '200 OK'
|
status = '200 OK'
|
||||||
response = self.execute(environ)
|
response = self.wsgi_execute(environ)
|
||||||
headers = [('Content-Type', self.content_type + '; charset=utf-8')]
|
headers = [('Content-Type', self.content_type + '; charset=utf-8')]
|
||||||
except StandardError, e:
|
except StandardError, e:
|
||||||
self.exception('%s.__call__():', self.name)
|
self.exception('%s.__call__():', self.name)
|
||||||
|
Loading…
Reference in New Issue
Block a user