From 515fd6a5de2f1bf817fac9ced07d0485d594b510 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Mon, 24 Sep 2012 22:42:58 +0200 Subject: [PATCH] Called parent __init__ in test logging handler --- tests/regressiontests/logging_tests/logconfig.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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