summaryrefslogtreecommitdiff
path: root/paste/evalexception
diff options
context:
space:
mode:
authorpjenvey <devnull@localhost>2006-07-24 01:49:58 +0000
committerpjenvey <devnull@localhost>2006-07-24 01:49:58 +0000
commit6ac1b315d366733f2b43956696a2efbd6e2f00ef (patch)
treebf333e8a1c3ba6ec196132c6503859e02133262e /paste/evalexception
parent759c5013fe8c1c8bebc31a6858bac54f9472e03a (diff)
downloadpaste-6ac1b315d366733f2b43956696a2efbd6e2f00ef.tar.gz
commenting out make_repost_button's unused block of code
Diffstat (limited to 'paste/evalexception')
-rw-r--r--paste/evalexception/middleware.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/paste/evalexception/middleware.py b/paste/evalexception/middleware.py
index 792993b..eed8a95 100644
--- a/paste/evalexception/middleware.py
+++ b/paste/evalexception/middleware.py
@@ -523,6 +523,8 @@ def make_repost_button(environ):
# the POST body is probably lost at this point, and
# I can't get it back :(
return None
+ # @@: Use or lose the following code block
+ """
fields = []
for name, value in wsgilib.parse_formvars(
environ, include_get_vars=False).items():
@@ -538,6 +540,7 @@ def make_repost_button(environ):
%s
<input type="submit" value="Re-POST Page">
</form>''' % (url, '\n'.join(fields))
+"""
def input_form(tbid, debug_info):