diff options
| author | Claude Paroz <claude@2xlibre.net> | 2012-09-24 22:42:58 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2012-09-24 22:42:58 +0200 |
| commit | 515fd6a5de2f1bf817fac9ced07d0485d594b510 (patch) | |
| tree | 5bdd3a2009410f01139ff6d4628712bd8669eeb3 | |
| parent | fc69fff9ab5bba8a6cff3eaf51f02a3204b1c015 (diff) | |
Called parent __init__ in test logging handler
| -rw-r--r-- | tests/regressiontests/logging_tests/logconfig.py | 3 |
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 |
