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

Reviewed code

parent 37187951
No related branches found
No related tags found
1 merge request!143Debug paas ci
......@@ -431,7 +431,7 @@ class Task:
def update_status(self):
task_info = self.client.get_tasks(filter_string = self.id) \
.xpath('task')[0]
logging.debug(f"task_info: {task_info}")
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)
logging.debug(f"task status: {self.status}")
......
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