Mailman: fix typo

This commit is contained in:
Aurélien Bompard 2016-09-28 18:33:13 +00:00
parent b7dad2451e
commit 40f13457f6

View file

@ -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