summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/mailman/files/django_fedora.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/mailman/files/django_fedora.py b/roles/mailman/files/django_fedora.py
index 0f2751964..b021694ae 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