Skip to content

Commit

Permalink
Merge branch 'develop' into improvement/better_handling_of_servfail
Browse files Browse the repository at this point in the history
  • Loading branch information
jsf9k committed Jan 11, 2018
2 parents e869888 + 5ef441a commit 6b1cfe2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions trustymail/trustymail.py
Expand Up @@ -442,8 +442,7 @@ def dmarc_scan(resolver, domain):
domain.valid_dmarc = False
domain.dmarc_pct = pct
if pct < 100:
handle_syntax_error("Error: The DMARC pct tag value must not be less than 100 "
"(the implicit default), so that the policy applies to all mail")
handle_syntax_error('[DMARC]', domain, 'Error: The DMARC pct tag value must not be less than 100 (the implicit default), so that the policy applies to all mail')
domain.valid_dmarc = False
except ValueError:
msg = 'invalid DMARC pct tag value: {0} - must be an integer'.format(tag_dict[tag])
Expand Down

0 comments on commit 6b1cfe2

Please sign in to comment.