[Python-checkins] r53362 - python/trunk/Lib/BaseHTTPServer.py
guido.van.rossum
python-checkins at python.org
Thu Jan 11 00:12:57 CET 2007
Author: guido.van.rossum
Date: Thu Jan 11 00:12:56 2007
New Revision: 53362
Modified:
python/trunk/Lib/BaseHTTPServer.py
Log:
Fix the signature of log_error(). (A subclass that did the right thing
was getting complaints from pychecker.)
Modified: python/trunk/Lib/BaseHTTPServer.py
==============================================================================
--- python/trunk/Lib/BaseHTTPServer.py (original)
+++ python/trunk/Lib/BaseHTTPServer.py Thu Jan 11 00:12:56 2007
@@ -396,7 +396,7 @@
self.log_message('"%s" %s %s',
self.requestline, str(code), str(size))
- def log_error(self, *args):
+ def log_error(self, format, *args):
"""Log an error.
This is called when a request cannot be fulfilled. By
@@ -408,7 +408,7 @@
"""
- self.log_message(*args)
+ self.log_message(format, *args)
def log_message(self, format, *args):
"""Log an arbitrary message.
More information about the Python-checkins
mailing list