summaryrefslogtreecommitdiff
path: root/mailman/Utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'mailman/Utils.py')
-rw-r--r--mailman/Utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mailman/Utils.py b/mailman/Utils.py
index 5ad940d58..56f186a17 100644
--- a/mailman/Utils.py
+++ b/mailman/Utils.py
@@ -30,7 +30,6 @@ import errno
import base64
import random
import logging
-import urlparse
import htmlentitydefs
import email.Header
import email.Iterators
@@ -497,7 +496,8 @@ def findtext(templatefile, dict=None, raw=False, lang=None, mlist=None):
fp = open(filename)
raise OuterExit
except IOError, e:
- if e.errno <> errno.ENOENT: raise
+ if e.errno <> errno.ENOENT:
+ raise
# Okay, it doesn't exist, keep looping
fp = None
except OuterExit: