Permalink
Browse files

Called parent __init__ in test logging handler

  • Loading branch information...
1 parent fc69fff commit 515fd6a5de2f1bf817fac9ced07d0485d594b510 @claudep claudep committed Sep 24, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/regressiontests/logging_tests/logconfig.py
View
3 tests/regressiontests/logging_tests/logconfig.py
@@ -3,5 +3,6 @@
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

0 comments on commit 515fd6a

Please sign in to comment.