Extra Cleanup

This commit is contained in:
=
2025-09-01 22:03:36 -04:00
parent aa05dd0564
commit 3ae730361b
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -300,8 +300,10 @@ def menu_prepare_to_enforce():
executionhist_policy1.to_parquet(f"parquet\\execution_history_{first_policy}.parquet", index=False) executionhist_policy1.to_parquet(f"parquet\\execution_history_{first_policy}.parquet", index=False)
print(ct.colorText(f"Staging of Execution history for policy: {first_policy} is complete", "green")) print(ct.colorText(f"Staging of Execution history for policy: {first_policy} is complete", "green"))
del data
del exe1 del exe1
del executionhist_policy1 del executionhist_policy1
os.remove("chunkinator.json")
gc.collect() gc.collect()
if not os.path.exists(f"parquet\\execution_history_{second_policy}.parquet"): if not os.path.exists(f"parquet\\execution_history_{second_policy}.parquet"):
@@ -318,7 +320,9 @@ def menu_prepare_to_enforce():
print(ct.colorText(f"Staging of Execution history for policy: {second_policy} is complete", "green")) print(ct.colorText(f"Staging of Execution history for policy: {second_policy} is complete", "green"))
del executionhist_policy2 del executionhist_policy2
del data2
del exe2 del exe2
os.remove("chunkinator.json")
gc.collect() gc.collect()
if not os.path.exists(f"parquet\\combined_hashlist_{first_policy}_{second_policy}.parquet"): if not os.path.exists(f"parquet\\combined_hashlist_{first_policy}_{second_policy}.parquet"):
+1
View File
@@ -0,0 +1 @@
{"error": "Success", "response": {"exechistories": []}}