core (logs): workaround for pyjamas bug
This commit is contained in:
parent
2e6420fb49
commit
2aeada884e
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ class Logger(object):
|
|||
try:
|
||||
if not self.filter_name.dictFilter(record):
|
||||
raise Filtered
|
||||
except AttributeError:
|
||||
except (AttributeError, TypeError): # XXX: TypeError is here because of a pyjamas bug which need to be fixed (TypeError is raised instead of AttributeError)
|
||||
if self.filter_name is not None:
|
||||
raise ValueError("Bad filter: filters must have a .filter method")
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue