mirror of https://gitlab.com/ita1024/waf.git
Subclasses should not provide incompatible constructors
This commit is contained in:
parent
34bad1498f
commit
8fcd30dcc8
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue