More apply() cleanup

This commit is contained in:
Neal Norwitz 2006-03-17 08:28:24 +00:00
parent ade612be2f
commit 7c3072437a
2 changed files with 9 additions and 12 deletions

View file

@ -1015,7 +1015,7 @@ class Logger(Filterer):
"""
Convenience method for logging an ERROR with exception information.
"""
self.error(msg, *args, exc_info=1)
self.error(msg, exc_info=1, *args)
def critical(self, msg, *args, **kwargs):
"""
@ -1292,7 +1292,7 @@ def exception(msg, *args):
Log a message with severity 'ERROR' on the root logger,
with exception information.
"""
error(msg, *args, exc_info=1)
error(msg, exc_info=1, *args)
def warning(msg, *args, **kwargs):
"""