From 128a45e435cb00a19c81dedc408a18efd0ea448f Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Mon, 1 Oct 2001 16:35:30 +0000 Subject: process(): Fixed typo in IOError error code comparison. --- Mailman/Handlers/FileRecips.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] = [] -- cgit v1.2.3-70-g09d2