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

Reviewed code

parent 4e0ece69
No related branches found
No related tags found
1 merge request!143Debug paas ci
......@@ -433,7 +433,7 @@ class Task:
.xpath('task')[0]
logging.debug(f"task_info: {task_info.xpath('/text()')}")
self.name = task_info.xpath(GVM_XPATH_NAME_TEXT)[0]
self.status = task_info.xpath(GVM_XPATH_STATUS_TEXT_2)
self.status = task_info.xpath(GVM_XPATH_STATUS_TEXT_3)
logging.debug(f"task status: {self.status}")
#self.status = task_info.xpath(GVM_XPATH_STATUS_TEXT_2)[0] # New -> Requested -> Queued -> Running -> Done
self.progress = int(task_info.xpath(GVM_XPATH_PROGRESS_TEXT)[0])# 0 0 0 0 -> 100 -1
......
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