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

Reviewed scan python code

parent cba9d796
No related branches found
No related tags found
Loading
......@@ -386,6 +386,7 @@ class GVMClient():
tasks = self.client.get_tasks(filter_string=filter)
for task in tasks.xpath('task'):
t = Task()
t.client = self.client
t.name = task.xpath('name/text()')[0]
t.id = task.xpath('@id')[0]
t.in_use = task.xpath('in_use/text()')[0]
......
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