SVN: r25338 - trunk/quixote

Neil Schemenauer <nascheme-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]> Thu, 14 Oct 2004 13:10:47 -0400
Newsgroups gmane.comp.web.quixote.cvs
Message-ID <[email protected]>
Author: nascheme
Date: 2004-10-14 13:10:35 -0400 (Thu, 14 Oct 2004)
New Revision: 25338

Modified:
   trunk/quixote/util.py
Log:
Fix variable names in dump_request().


Modified: trunk/quixote/util.py
===================================================================
--- trunk/quixote/util.py	2004-10-14 17:08:56 UTC (rev 25337)
+++ trunk/quixote/util.py	2004-10-14 17:10:35 UTC (rev 25338)
@@ -334,17 +334,17 @@
     r = TemplateIO(html=True)
     r += htmltext('<h3>form</h3>'
                   '<table>')
-    for k, v in self.form.items():
+    for k, v in request.form.items():
         r += row_fmt % (k, v)
     r += htmltext('</table>'
                   '<h3>cookies</h3>'
                   '<table>')
-    for k, v in self.cookies.items():
+    for k, v in request.cookies.items():
         r += row_fmt % (k, v)
     r += htmltext('</table>'
                   '<h3>environ</h3>'
                   '<table>')
-    for k, v in self.environ.items():
+    for k, v in request.environ.items():
         r += row_fmt % (k, v)
     r += htmltext('</table>')
     return r.getvalue()