mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-03-23 06:52:45 +00:00
Code formatting
This commit is contained in:
@@ -427,9 +427,7 @@ def save_aggregate_report_to_elasticsearch(
|
||||
except Exception as error_:
|
||||
raise ElasticsearchError(
|
||||
"Elasticsearch's search for existing report \
|
||||
error: {}".format(
|
||||
error_.__str__()
|
||||
)
|
||||
error: {}".format(error_.__str__())
|
||||
)
|
||||
|
||||
if len(existing) > 0:
|
||||
@@ -742,9 +740,7 @@ def save_smtp_tls_report_to_elasticsearch(
|
||||
except Exception as error_:
|
||||
raise ElasticsearchError(
|
||||
"Elasticsearch's search for existing report \
|
||||
error: {}".format(
|
||||
error_.__str__()
|
||||
)
|
||||
error: {}".format(error_.__str__())
|
||||
)
|
||||
|
||||
if len(existing) > 0:
|
||||
|
||||
@@ -427,9 +427,7 @@ def save_aggregate_report_to_opensearch(
|
||||
except Exception as error_:
|
||||
raise OpenSearchError(
|
||||
"OpenSearch's search for existing report \
|
||||
error: {}".format(
|
||||
error_.__str__()
|
||||
)
|
||||
error: {}".format(error_.__str__())
|
||||
)
|
||||
|
||||
if len(existing) > 0:
|
||||
@@ -742,9 +740,7 @@ def save_smtp_tls_report_to_opensearch(
|
||||
except Exception as error_:
|
||||
raise OpenSearchError(
|
||||
"OpenSearch's search for existing report \
|
||||
error: {}".format(
|
||||
error_.__str__()
|
||||
)
|
||||
error: {}".format(error_.__str__())
|
||||
)
|
||||
|
||||
if len(existing) > 0:
|
||||
|
||||
Reference in New Issue
Block a user