summaryrefslogtreecommitdiff
path: root/paste/evalexception
diff options
context:
space:
mode:
authorianb <devnull@localhost>2005-11-14 21:57:59 +0000
committerianb <devnull@localhost>2005-11-14 21:57:59 +0000
commitbec7fc84a0116644b2a4c2704ed5a51d97746489 (patch)
treecb4a3966314cee5b97525c9172eb74aff9d72bab /paste/evalexception
parent86fcd4321908927e8ee2688ef71bd61f48aae07e (diff)
downloadpaste-bec7fc84a0116644b2a4c2704ed5a51d97746489.tar.gz
Fix problem from last decorator @ removal patch; allow setting selects to non-string values
Diffstat (limited to 'paste/evalexception')
-rw-r--r--paste/evalexception/middleware.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/evalexception/middleware.py b/paste/evalexception/middleware.py
index f871138..72f223b 100644
--- a/paste/evalexception/middleware.py
+++ b/paste/evalexception/middleware.py
@@ -193,7 +193,7 @@ class EvalException(object):
local_vars = 'No local vars'
return input_form(framecount, debug_info) + local_vars
- show_frame = wsgiapp()(get_debug_info)(show_frame)
+ show_frame = wsgiapp()(get_debug_info(show_frame))
#@wsgiapp()
#@get_debug_info
@@ -211,7 +211,7 @@ class EvalException(object):
% (preserve_whitespace(input_html, quote=False),
preserve_whitespace(output)))
- exec_input = wsgiapp()(get_debug_info)(exec_input)
+ exec_input = wsgiapp()(get_debug_info(exec_input))
def respond(self, environ, start_response):
base_path = environ['SCRIPT_NAME']