summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/regressiontests/logging_tests/logconfig.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/regressiontests/logging_tests/logconfig.py b/tests/regressiontests/logging_tests/logconfig.py
index 8524aa2c24..fc5ea1a0bd 100644
--- a/tests/regressiontests/logging_tests/logconfig.py
+++ b/tests/regressiontests/logging_tests/logconfig.py
@@ -3,5 +3,6 @@ import logging
from django.conf import settings
class MyHandler(logging.Handler):
- def __init__(self, *args, **kwargs):
+ def __init__(self):
+ logging.Handler.__init__(self)
self.config = settings.LOGGING