aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2016-05-04 18:27:19 -0700
committerMark Sapiro <mark@msapiro.net>2016-05-04 18:27:19 -0700
commit6a615a1e6c6b3b03c3d8e334e6b097f29c9c975a (patch)
tree0d4a933c422e14d5094240a5d29a58abc5610e22 /Mailman
parent1adb205d2cf4e6c53ade88ff4dc9c3e42ee08d35 (diff)
downloadmailman2-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.py2
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: