[mod_python] apache.py typo fix... ?

Denis Walrave Denis.Walrave at trema.com
Fri Jul 11 19:04:12 EST 2003


$Id: apache.py,v 1.68 2003/02/28 04:55:15 grisha Exp $

 

def restore_nocgi(sav_env, si, so):

    """ see setup_cgi() """

 

    osenv = os.environ

 

    # restore env

    for k in osenv.keys():

        del osenv[k]

    for k in sav_env:

        osenv[k] = env[k] ######## I would suggest 'sav_env[k]'

 

    sys.stdout = si

    sys.stdin = so

 

Denis Walrave

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.modpython.org/pipermail/mod_python/attachments/20030711/2f640737/attachment-0003.htm


More information about the Mod_python mailing list