Explorar o código

Python 2.6 compatibility

Jonas Borgström %!s(int64=14) %!d(string=hai) anos
pai
achega
54b0c9cb0a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dedupestore/archiver.py

+ 1 - 1
dedupestore/archiver.py

@@ -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):