summaryrefslogtreecommitdiffstats
path: root/Lib/logging/__init__.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-17 08:28:24 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-17 08:28:24 (GMT)
commit7c3072437a8f2e4cd487e38d46ea99d0026bd4c2 (patch)
tree519ca79ca10b2b0a827f8257bb92fcde17acfc25 /Lib/logging/__init__.py
parentade612be2f8b2a3569fb010d260c8cff1f93c486 (diff)
downloadcpython-7c3072437a8f2e4cd487e38d46ea99d0026bd4c2.zip
cpython-7c3072437a8f2e4cd487e38d46ea99d0026bd4c2.tar.gz
cpython-7c3072437a8f2e4cd487e38d46ea99d0026bd4c2.tar.bz2
More apply() cleanup
Diffstat (limited to 'Lib/logging/__init__.py')
-rw-r--r--Lib/logging/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py
index 862f7ca..4b2f8a6 100644
--- a/Lib/logging/__init__.py
+++ b/Lib/logging/__init__.py
@@ -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):
"""