1
0
mirror of https://github.com/django/django.git synced 2025-03-26 01:00:46 +00:00

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

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