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

Reviewed code

parent 0682511a
No related branches found
No related tags found
1 merge request!143Debug paas ci
......@@ -108,7 +108,7 @@ for host,ports in endpoints.items():
port_list = port_list)
logging.info(f"Target:\n {target}")
task = Task(client= gvm.client,
task = Task(client = gvm.client,
name = task_name,
target = target)
logging.info(f"Task:\n {task}")
......@@ -137,13 +137,4 @@ logging.info(pretty_json(reports))
# Write global reports on file
with open(summary_filename, "w") as f:
f.write(json.dumps(reports))
"""for task in tasks:
task.delete()
for target in targets:
target.delete()
for port_list in port_lists:
port_list.delete()"""
\ No newline at end of file
f.write(json.dumps(reports))
\ No newline at end of file
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