Fix pylint issues appeared with version 3.2.2 of pylint
[osm/osmclient.git] / osmclient / sol005 / ns.py
index c84d090..50a1dba 100644 (file)
@@ -586,7 +586,7 @@ class Ns(object):
                 http_code, resp = self._http.get2_cmd(
                     "{}/{}".format(self._apiBase, uuid)
                 )
-            if not uuid:
+            else:  # if not uuid
                 http_code, resp = self._http.get2_cmd(
                     "{}/{}/{}/{}".format(self._apiBase, uuid, project_name, ns_id)
                 )