Called parent __init__ in test logging handler

This commit is contained in:
Claude Paroz 2012-09-24 22:42:58 +02:00
parent fc69fff9ab
commit 515fd6a5de
1 changed files with 2 additions and 1 deletions

View File

@ -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