Fix black errors shown with the latest version of black 93/12993/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 22 Feb 2023 14:32:35 +0000 (15:32 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 22 Feb 2023 14:32:51 +0000 (15:32 +0100)
Change-Id: I094b068da11277e07f24e713c4f9f61dbc55f8e5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osmclient/cli_commands/pdus.py
osmclient/common/http.py
osmclient/sol005/client.py
osmclient/sol005/nsi.py
osmclient/sol005/osmrepo.py
osmclient/sol005/user.py

index 3ce5572..b1fc768 100755 (executable)
@@ -175,7 +175,6 @@ def pdu_update(
 def create_pdu_dictionary(
     name, pdu_type, interface, description, vim_account, descriptor_file, update=False
 ):
-
     logger.debug("")
     pdu = {}
 
index 433edd0..9207cbc 100644 (file)
@@ -42,7 +42,6 @@ class Http(object):
         return curl_cmd
 
     def get_cmd(self, endpoint):
-
         data = BytesIO()
         curl_cmd = self._get_curl_cmd(endpoint)
         curl_cmd.setopt(pycurl.HTTPGET, 1)
index a69f3cc..4f15fc5 100644 (file)
@@ -55,7 +55,6 @@ class Client(object):
         project="admin",
         **kwargs
     ):
-
         self._user = user
         self._password = password
         self._project = project
index 999959e..6efce4b 100644 (file)
@@ -145,7 +145,6 @@ class Nsi(object):
         admin_status="ENABLED",
         wait=False,
     ):
-
         self._logger.debug("")
         self._client.get_token()
         nst = self._client.nst.get(nst_name)
index 0e6bb46..6b9d527 100644 (file)
@@ -147,7 +147,6 @@ class OSMRepo(Repo):
         return f_name
 
     def pkg_get(self, pkgtype, name, repo, version, filter):
-
         pkg_name = self.get_pkg(pkgtype, name, repo, filter, version)
         if not pkg_name:
             raise ClientException("Package not found")
index 917fb1a..d94b9c4 100644 (file)
@@ -111,7 +111,6 @@ class User(object):
         if user.get("set-project"):
             # Remove project and insert project role mapping
             for set_project in user["set-project"]:
-
                 set_project_clean = [m.strip() for m in set_project.split(",")]
                 project, roles = set_project_clean[0], set_project_clean[1:]