Python 2.6 compatibility

This commit is contained in:
Jonas Borgström 2010-10-18 19:03:30 +02:00
parent b99ea117e1
commit 54b0c9cb0a
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ CHUNK_SIZE = 55001
class LevelFilter(logging.Filter):
def __init__(self, *args, **kwargs):
super(LevelFilter, self).__init__(args, **kwargs)
logging.Filter.__init__(self, *args, **kwargs)
self.count = {}
def filter(self, record):