From 901283ecfa960711083f7b9b6ba1bee2a381e814 Mon Sep 17 00:00:00 2001 From: James Turk Date: Wed, 16 May 2012 00:15:34 -0400 Subject: [PATCH] python 2.6 fix --- oyster/mongolog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oyster/mongolog.py b/oyster/mongolog.py index f99cbb4..594f1a3 100644 --- a/oyster/mongolog.py +++ b/oyster/mongolog.py @@ -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):