Code formatting

This commit is contained in:
Sean Whalen
2025-11-28 12:48:55 -05:00
parent a05c230152
commit 38a3d4eaae
2 changed files with 4 additions and 12 deletions

View File

@@ -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:

View File

@@ -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: