mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-03-24 23:42:45 +00:00
Remove unused import
This commit is contained in:
@@ -1476,8 +1476,10 @@ def get_dmarc_reports_from_mbox(
|
||||
SEEN_AGGREGATE_REPORT_IDS[report_id] = report_id
|
||||
aggregate_reports.append(parsed_email["report"])
|
||||
else:
|
||||
logger.debug("Skipping duplicate aggregate report "
|
||||
f"with ID: {report_id}")
|
||||
logger.debug(
|
||||
"Skipping duplicate aggregate report "
|
||||
f"with ID: {report_id}"
|
||||
)
|
||||
aggregate_reports.append(parsed_email["report"])
|
||||
elif parsed_email["report_type"] == "forensic":
|
||||
forensic_reports.append(parsed_email["report"])
|
||||
|
||||
@@ -15,7 +15,6 @@ from ssl import CERT_NONE, create_default_context
|
||||
from multiprocessing import Pipe, Process
|
||||
import sys
|
||||
from tqdm import tqdm
|
||||
from expiringdict import ExpiringDict
|
||||
|
||||
from parsedmarc import (
|
||||
get_dmarc_reports_from_mailbox,
|
||||
@@ -1425,8 +1424,9 @@ def _main():
|
||||
SEEN_AGGREGATE_REPORT_IDS[report_id] = report_id
|
||||
aggregate_reports.append(result[0]["report"])
|
||||
else:
|
||||
logger.debug("Skipping duplicate aggregate report "
|
||||
f"with ID: {report_id}")
|
||||
logger.debug(
|
||||
"Skipping duplicate aggregate report " f"with ID: {report_id}"
|
||||
)
|
||||
elif result[0]["report_type"] == "forensic":
|
||||
forensic_reports.append(result[0]["report"])
|
||||
elif result[0]["report_type"] == "smtp_tls":
|
||||
|
||||
Reference in New Issue
Block a user