diff options
| author | Barry Warsaw | 2009-01-04 19:41:05 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-01-04 19:41:05 -0500 |
| commit | f6d998b93b0dd8978eadc9abc4c3964e3fe66bf7 (patch) | |
| tree | fc64f36b862ae61965e8d23fd00e56dcac1a5ee3 /mailman/Utils.py | |
| parent | 706c3853103f53955068cc429c0bd6d1f8fb6dd0 (diff) | |
| download | mailman-f6d998b93b0dd8978eadc9abc4c3964e3fe66bf7.tar.gz mailman-f6d998b93b0dd8978eadc9abc4c3964e3fe66bf7.tar.zst mailman-f6d998b93b0dd8978eadc9abc4c3964e3fe66bf7.zip | |
Diffstat (limited to 'mailman/Utils.py')
| -rw-r--r-- | mailman/Utils.py | 4 |
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: |
