python 2.6 fix

This commit is contained in:
James Turk 2012-05-16 00:15:34 -04:00
parent 2f729bfdbc
commit 901283ecfa

View File

@ -45,7 +45,7 @@ class MongoHandler(logging.Handler):
pass
self.collection = db[collection]
self.async = async
super(MongoHandler, self).__init__(level)
MongoHandler.__init__(self, level)
self.formatter = MongoFormatter()
def emit(self, record):