Skip to content

Commit

Permalink
Fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
efagerberg committed Jul 24, 2015
1 parent 42b337c commit ff2ad2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validate_email.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def get_mx_ip(hostname):
try:
MX_DNS_CACHE[hostname] = DNS.mxlookup(hostname)
except ServerError as e:
if e.rcode == 3 or e.rcode == 2: # NXDOMAIN (Non-Existent Domain) or SERVFAIL
if e.rcode == 3 or e.rcode == 2: # NXDOMAIN (Non-Existent Domain) or SERVFAIL
MX_DNS_CACHE[hostname] = None
else:
raise
Expand Down

0 comments on commit ff2ad2b

Please sign in to comment.