Skip to content
Snippets Groups Projects
Commit 41b637d9 authored by Gioacchino Vino's avatar Gioacchino Vino
Browse files

Reviewed code

parent 7f289b43
No related branches found
No related tags found
1 merge request!143Debug paas ci
...@@ -132,7 +132,7 @@ for task in tasks: ...@@ -132,7 +132,7 @@ for task in tasks:
del task del task
#gvm.get_client().delete_task(task.id) #gvm.get_client().delete_task(task.id)
for target in targets: """for target in targets:
try: try:
del target del target
except Exception as e: except Exception as e:
...@@ -142,7 +142,7 @@ for port_list in port_lists: ...@@ -142,7 +142,7 @@ for port_list in port_lists:
try: try:
del port_list del port_list
except Exception as e: except Exception as e:
logging.error(f"Error during port list deletion. Msg: {e.msg}") logging.error(f"Error during port list deletion. Msg: {e.msg}")"""
reports = process_global_reports_info(reports) reports = process_global_reports_info(reports)
logging.info(pretty_json(reports)) logging.info(pretty_json(reports))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment