Skip to content

Commit

Permalink
clean prints
Browse files Browse the repository at this point in the history
  • Loading branch information
joke2k committed Apr 5, 2013
1 parent 67dc937 commit 8c837b4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions validate_email.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
VALID_ADDRESS_REGEXP = '^' + ADDR_SPEC + '$'

cache = {}
print 'initialize cache'


def validate_email(email, check_mx=False,verify=False):
Expand All @@ -107,7 +106,6 @@ def validate_email(email, check_mx=False,verify=False):
if hostname in cache:
mx_hosts = cache[hostname]
else:
print 'new mx host %s' % hostname
cache[hostname] = mx_hosts = dns.resolver.query(hostname, 'MX')

for mx in mx_hosts:
Expand Down

0 comments on commit 8c837b4

Please sign in to comment.