Revert code formatting

This commit is contained in:
Sean Whalen
2025-11-29 14:14:54 -05:00
parent 94d65f979d
commit 69b9d25a99
2 changed files with 4 additions and 12 deletions
+2 -6
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:
+2 -6
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: