diff options
author | Mark Sapiro <mark@msapiro.net> | 2016-05-04 18:27:19 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2016-05-04 18:27:19 -0700 |
commit | 6a615a1e6c6b3b03c3d8e334e6b097f29c9c975a (patch) | |
tree | 0d4a933c422e14d5094240a5d29a58abc5610e22 /Mailman/Utils.py | |
parent | 1adb205d2cf4e6c53ade88ff4dc9c3e42ee08d35 (diff) | |
download | mailman2-6a615a1e6c6b3b03c3d8e334e6b097f29c9c975a.tar.gz mailman2-6a615a1e6c6b3b03c3d8e334e6b097f29c9c975a.tar.xz mailman2-6a615a1e6c6b3b03c3d8e334e6b097f29c9c975a.zip |
Allow DMARC_ORGANIZATIONAL_DOMAIN_DATA_URL to be None or the null string.
Diffstat (limited to '')
-rw-r--r-- | Mailman/Utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Mailman/Utils.py b/Mailman/Utils.py index 892bb5c8..2dbaef0b 100644 --- a/Mailman/Utils.py +++ b/Mailman/Utils.py @@ -1170,6 +1170,8 @@ def get_suffixes(url): global s_dict if s_dict: return + if not url: + return try: d = urllib2.urlopen(url) except urllib2.URLError, e: |