From 6a615a1e6c6b3b03c3d8e334e6b097f29c9c975a Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Wed, 4 May 2016 18:27:19 -0700 Subject: Allow DMARC_ORGANIZATIONAL_DOMAIN_DATA_URL to be None or the null string. --- Mailman/Utils.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Mailman') 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: -- cgit v1.2.3