Subclasses should not provide incompatible constructors

This commit is contained in:
Thomas Nagy 2016-05-28 14:51:44 +02:00
parent 34bad1498f
commit 8fcd30dcc8
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
1 changed files with 2 additions and 2 deletions

View File

@ -106,8 +106,8 @@ class log_filter(logging.Filter):
$ waf --zones=test
"""
def __init__(self, name=None):
pass
def __init__(self, name=''):
logging.Filter.__init__(self, name)
def filter(self, rec):
"""