diff options
author | pjenvey <devnull@localhost> | 2006-07-24 01:49:58 +0000 |
---|---|---|
committer | pjenvey <devnull@localhost> | 2006-07-24 01:49:58 +0000 |
commit | 6ac1b315d366733f2b43956696a2efbd6e2f00ef (patch) | |
tree | bf333e8a1c3ba6ec196132c6503859e02133262e /paste/evalexception | |
parent | 759c5013fe8c1c8bebc31a6858bac54f9472e03a (diff) | |
download | paste-6ac1b315d366733f2b43956696a2efbd6e2f00ef.tar.gz |
commenting out make_repost_button's unused block of code
Diffstat (limited to 'paste/evalexception')
-rw-r--r-- | paste/evalexception/middleware.py | 3 |
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): |