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:
Anthony Baxter 2004-08-03 11:05:04 +00:00
parent fcc09bbad6
commit d2717217ae
1 changed files with 0 additions and 1 deletions

View File

@ -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")