mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Removed use of 'cgi.initlog()' - the first call to cgi.log is actually
an initlog() (and initlog()'s docstring says "don't use this"!) This allows test_cgi to be run repeatedly in a single run of the interpreter.
This commit is contained in:
parent
fcc09bbad6
commit
d2717217ae
1 changed files with 0 additions and 1 deletions
|
@ -193,7 +193,6 @@ def main():
|
|||
verify(norm(expect.values()) == norm(d.values()))
|
||||
|
||||
print "Testing log"
|
||||
cgi.initlog()
|
||||
cgi.log("Testing")
|
||||
cgi.logfp = sys.stdout
|
||||
cgi.initlog("%s", "Testing initlog 1")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue