Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
seanthegeek committed Sep 7, 2023
1 parent bb758a7 commit 138db26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions checkdmarc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1305,7 +1305,7 @@ def parse_dmarc_record(record, domain, parked=False,
resolver (dns.resolver.Resolver): A resolver object to use for DNS
requests
timeout (float): number of seconds to wait for an answer from DNS
syntax_error_marker (str): The maker for
syntax_error_marker (str): The maker for pointing out syntax errors
Returns:
OrderedDict: An ``OrderedDict`` with the following keys:
Expand Down Expand Up @@ -1347,7 +1347,7 @@ def parse_dmarc_record(record, domain, parked=False,
if not parsed_record.is_valid:
expecting = list(
map(lambda x: str(x).strip('"'), list(parsed_record.expecting)))
marked_record = (record[:parsed_record.pos] + syntax_error_marker +
marked_record = (record[:parsed_record.pos] + syntax_error_marker +
record[parsed_record.pos:])
raise DMARCSyntaxError("Error: Expected {0} at position {1} "
"(marked with {2}) in: "
Expand Down

0 comments on commit 138db26

Please sign in to comment.