Adding missing call to topdown=True in Generator.get_files

This commit is contained in:
Lucas Cimon 2019-10-17 13:05:53 +02:00
commit e092f7ca75
No known key found for this signature in database
GPG key ID: 08DA831E717571EE
2 changed files with 6 additions and 7 deletions

View file

@ -188,7 +188,7 @@ class LogCountHandler(BufferingHandler):
"""Capturing and counting logged messages."""
def __init__(self, capacity=1000):
logging.handlers.BufferingHandler.__init__(self, capacity)
super(LogCountHandler, self).__init__(capacity)
def count_logs(self, msg=None, level=None):
return len([