From d2717217ae7403dc1cc51aea1fe8a7736612392a Mon Sep 17 00:00:00 2001 From: Anthony Baxter Date: Tue, 3 Aug 2004 11:05:04 +0000 Subject: 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. --- Lib/test/test_cgi.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/test/test_cgi.py b/Lib/test/test_cgi.py index 5ecaf7f..130b19d 100644 --- a/Lib/test/test_cgi.py +++ b/Lib/test/test_cgi.py @@ -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") -- cgit v0.12