Skip to content

Commit 673c8db

Browse files
committed
Fix formatting
1 parent 9841a20 commit 673c8db

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

checkdmarc/spf.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -758,13 +758,15 @@ def parse_spf_record(
758758
if isinstance(warning, (_SPFMissingRecords, DNSExceptionNXDOMAIN)):
759759
mechanism_void_dns_lookups += 1
760760
total_void_dns_lookups += 1
761-
mechanism = OrderedDict([
762-
("mechanism", mechanism),
763-
("value", value),
764-
("record", None),
765-
("dns_lookups", 1),
766-
("void_dns_lookups", 1),
767-
])
761+
mechanism = OrderedDict(
762+
[
763+
("mechanism", mechanism),
764+
("value", value),
765+
("record", None),
766+
("dns_lookups", 1),
767+
("void_dns_lookups", 1),
768+
]
769+
)
768770
parsed["mechanisms"].append(mechanism)
769771
if total_void_dns_lookups > 2:
770772
raise SPFTooManyVoidDNSLookups(

0 commit comments

Comments
 (0)