fixed adapter init

This commit is contained in:
Joshua Harlow 2012-03-12 18:12:07 -07:00
parent 8924904400
commit 6e41601616

View File

@ -64,7 +64,7 @@ class AuditAdapter(logging.LoggerAdapter):
warn = logging.LoggerAdapter.warning
def __init__(self, logger):
logging.LoggerAdapter.__init__(self)
logging.LoggerAdapter.__init__(self, logger, dict())
self.logger = logger
def audit(self, msg, *args, **kwargs):