
21 Jan
2014
21 Jan
'14
1:23 p.m.
Am 19-01-2014 13:28, schrieb lvroyce0210@gmail.com:
diff --git a/src/kimchi/control/utils.py b/src/kimchi/control/utils.py index 814ba20..28733e2 100644 --- a/src/kimchi/control/utils.py +++ b/src/kimchi/control/utils.py @@ -81,6 +81,8 @@ def parse_request(): raise cherrypy.HTTPError(415, "This API only supports" " 'application/json'")
+def get_query_params(): + return cherrypy.request.params
def internal_redirect(url): raise cherrypy.InternalRedirect(url.encode("utf-8")) Please use two blank lines between two top-level functions in order to be consistent with our code guidelines.