summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mailman/Handlers/FileRecips.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Handlers/FileRecips.py b/Mailman/Handlers/FileRecips.py
index 4d9d20931..c6cfb7228 100644
--- a/Mailman/Handlers/FileRecips.py
+++ b/Mailman/Handlers/FileRecips.py
@@ -31,7 +31,7 @@ def process(mlist, msg, msgdata):
try:
fp = open(filename)
except IOError, e:
- if e.errno <> e.ENOENT:
+ if e.errno <> errno.ENOENT:
raise
# If the file didn't exist, just set an empty recipients list
msgdata['recips'] = []