From b18f1581bead39e618a2816464fa2ae1318ee999 Mon Sep 17 00:00:00 2001 From: "gioacchino.vino" <gioacchino.vino@infn.it> Date: Tue, 9 Jan 2024 18:52:00 +0100 Subject: [PATCH] Reviewed scan python code --- files/gvm_library.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/gvm_library.py b/files/gvm_library.py index c3e3399..f877e83 100644 --- a/files/gvm_library.py +++ b/files/gvm_library.py @@ -308,6 +308,7 @@ class GVMClient(): o.in_use = pl_info.xpath('in_use/text()')[0] print(f"pl: {o}") logging.debug(f'Created port list obj. Name: {name}, id: {id}, ports: {ports}') + return o else: print("error during pl creation") logging.error(f"ERROR during Port list creation. Status code: {status}, msg: {status_text}") -- GitLab