From: garciadeblas Date: Wed, 22 May 2024 21:22:13 +0000 (+0200) Subject: Fix pylint issues appeared with version 3.2.0 of pylint X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=b588bf1dc1aca3b05b1cf258ac2bf8378563f2f8;p=osm%2FMON.git Fix pylint issues appeared with version 3.2.0 of pylint Change-Id: I9c1e79a7f37c79b48ebb464bd7eba36eefcf5099 Signed-off-by: garciadeblas --- diff --git a/osm_mon/collector/infra_collectors/vmware.py b/osm_mon/collector/infra_collectors/vmware.py index 3c65270..33380fa 100644 --- a/osm_mon/collector/infra_collectors/vmware.py +++ b/osm_mon/collector/infra_collectors/vmware.py @@ -116,6 +116,7 @@ class VMwareInfraCollector(BaseVimInfraCollector): client = self.connect_vim_as_admin() if client._session: org_list = client.get_org_list() + org_uuid = "" for org in org_list.Org: if org.get("name") == self.org_name: org_uuid = org.get("href").split("/")[-1]