mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Take 2: Extensible return values and validation; steps toward a single output_for_cli(); enable more webUI stuff
This commit is contained in:
@@ -77,7 +77,7 @@ def extract_query(environ):
|
||||
qstr = environ['QUERY_STRING']
|
||||
if qstr:
|
||||
query = dict(nicify_query(
|
||||
parse_qs(qstr, keep_blank_values=True)
|
||||
parse_qs(qstr)#, keep_blank_values=True)
|
||||
))
|
||||
else:
|
||||
query = {}
|
||||
@@ -125,6 +125,9 @@ class WSGIExecutioner(Executioner):
|
||||
error = InternalError()
|
||||
finally:
|
||||
destroy_context()
|
||||
self.debug('Returning:\n%s',
|
||||
json.dumps(result, sort_keys=True, indent=4)
|
||||
)
|
||||
return self.marshal(result, error, _id)
|
||||
|
||||
def simple_unmarshal(self, environ):
|
||||
|
||||
Reference in New Issue
Block a user