Mailman: fix typo
This commit is contained in:
parent
b7dad2451e
commit
40f13457f6
1 changed files with 1 additions and 1 deletions
|
@ -12,6 +12,6 @@ def exclude_useless_errors(record):
|
||||||
if record.exc_info:
|
if record.exc_info:
|
||||||
exc_type, exc_value = record.exc_info[:2]
|
exc_type, exc_value = record.exc_info[:2]
|
||||||
for excluded_class in EXCLUDED:
|
for excluded_class in EXCLUDED:
|
||||||
if isinstance(exc_value, EXCLUDED):
|
if isinstance(exc_value, excluded_class):
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue