summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mailman/MailList.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py
index cf8fd5a23..c61be2f0a 100644
--- a/Mailman/MailList.py
+++ b/Mailman/MailList.py
@@ -878,10 +878,8 @@ it will not be changed."""),
try:
fp = open(dbfile)
except IOError, e:
- if e.errno == errno.ENOENT:
- return None, e
- else:
- raise
+ if e.errno <> errno.ENOENT: raise
+ return None, e
try:
try:
dict = marshal.load(fp)