diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-04-22 02:16:36 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-04-22 02:16:36 +0200 |
commit | 1d2079c3c8ebb69b3023a307849d2d17fe606f1d (patch) | |
tree | 0503252702717675167ed6a13657bdce22977488 /paste/evalexception | |
parent | e10fe866549e5ebb774b12912c40974255522dfa (diff) | |
download | paste-1d2079c3c8ebb69b3023a307849d2d17fe606f1d.tar.gz |
Get parse_querystring() function directly from the paste.request module,
instead of using wsgilib.parse_querystring() alias.
Diffstat (limited to 'paste/evalexception')
-rw-r--r-- | paste/evalexception/middleware.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/evalexception/middleware.py b/paste/evalexception/middleware.py index 73fab98..da7876d 100644 --- a/paste/evalexception/middleware.py +++ b/paste/evalexception/middleware.py @@ -344,7 +344,7 @@ class EvalException(object): self.debug_infos[count] = debug_info if self.xmlhttp_key: - get_vars = wsgilib.parse_querystring(environ) + get_vars = request.parse_querystring(environ) if dict(get_vars).get(self.xmlhttp_key): exc_data = collector.collect_exception(*exc_info) html = formatter.format_html( @@ -358,7 +358,7 @@ class EvalException(object): def exception_handler(self, exc_info, environ): simple_html_error = False if self.xmlhttp_key: - get_vars = wsgilib.parse_querystring(environ) + get_vars = request.parse_querystring(environ) if dict(get_vars).get(self.xmlhttp_key): simple_html_error = True return errormiddleware.handle_exception( |