Commit d2717217 authored by Anthony Baxter's avatar Anthony Baxter

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.
parent fcc09bba
......@@ -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")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment