python 2.6 fix
This commit is contained in:
parent
2f729bfdbc
commit
901283ecfa
@ -45,7 +45,7 @@ class MongoHandler(logging.Handler):
|
|||||||
pass
|
pass
|
||||||
self.collection = db[collection]
|
self.collection = db[collection]
|
||||||
self.async = async
|
self.async = async
|
||||||
super(MongoHandler, self).__init__(level)
|
MongoHandler.__init__(self, level)
|
||||||
self.formatter = MongoFormatter()
|
self.formatter = MongoFormatter()
|
||||||
|
|
||||||
def emit(self, record):
|
def emit(self, record):
|
||||||
|
Loading…
Reference in New Issue
Block a user