[Modsnake-cvs] (jick) mod_snake/examples/tut 04_namegame.pycgi
Status: Alpha
Brought to you by:
jick
|
From: Mod S. C. L. <mod...@so...> - 2002-04-09 17:52:03
|
Mod Snake CVS committal
Author : jick
Project : mod_snake
Module : examples
Dir : mod_snake/examples/tut
Modified Files:
04_namegame.pycgi
Log Message:
Use correct env
===================================================================
RCS file: /cvsroot/modsnake/mod_snake/examples/tut/04_namegame.pycgi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- 04_namegame.pycgi 21 Aug 2000 18:22:18 -0000 1.1
+++ 04_namegame.pycgi 9 Apr 2002 17:52:01 -0000 1.2
@@ -17,7 +17,7 @@
print 'Content-Type: text/html'
print
-form = cgi.FieldStorage()
+form = cgi.FieldStorage(None, None, "", os.environ)
print '<HTML><HEAD><H1>The Name Game</H1></HEAD><BODY>'
if not form.has_key('user_name'):
|