diff --git a/roles/mailman/files/django_fedora.py b/roles/mailman/files/django_fedora.py index 0f2751964e..b021694ae5 100644 --- a/roles/mailman/files/django_fedora.py +++ b/roles/mailman/files/django_fedora.py @@ -12,6 +12,6 @@ def exclude_useless_errors(record): if record.exc_info: exc_type, exc_value = record.exc_info[:2] for excluded_class in EXCLUDED: - if isinstance(exc_value, EXCLUDED): + if isinstance(exc_value, excluded_class): return False return True