@@ -141,10 +141,10 @@ def do_mail_get_servers(self, url, *args, **kwargs):
141141 if is_null_mx :
142142 if len (mxlist ) > 1 :
143143 # Invalid NULL MX next to other MX.
144- return [(None , None , MxStatus .null_mx_with_other_mx )]
144+ return [(None , MxStatus .null_mx_with_other_mx )]
145145 elif not do_resolve_single_a_aaaa (url ):
146146 return [(None , None , MxStatus .null_mx_without_a_aaaa )]
147- return [(None , None , MxStatus .null_mx )]
147+ return [(None , MxStatus .null_mx )]
148148
149149 rdata = rdata .lower ().strip ()
150150 if rdata == "" :
@@ -161,10 +161,10 @@ def do_mail_get_servers(self, url, *args, **kwargs):
161161 if spf_data :
162162 spf_parsed = spf_parse (spf_data )
163163 if spf_parsed .get ("terms" , []) == ["-all" ]:
164- return [(None , None , MxStatus .no_null_mx )]
164+ return [(None , MxStatus .no_null_mx )]
165165 except DNSException :
166166 pass
167- return [(None , None , MxStatus .no_mx )]
167+ return [(None , MxStatus .no_mx )]
168168
169169 # Sort the mailservers on their name so that the same ones are tested for
170170 # all related tests.
0 commit comments