From 057075851c2766050a833fa54bc8851e1ee0d06c Mon Sep 17 00:00:00 2001 From: svarona Date: Tue, 25 Jun 2024 16:58:21 +0200 Subject: [PATCH] fixed black --- bu_isciii/new_service.py | 9 ++++++--- bu_isciii/utils.py | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/bu_isciii/new_service.py b/bu_isciii/new_service.py index e0faaa5e..f57e301d 100755 --- a/bu_isciii/new_service.py +++ b/bu_isciii/new_service.py @@ -207,8 +207,7 @@ def create_symbolic_links(self): ) except OSError as e: stderr.print( - "[red]ERROR: Symbolic links creation failed for file %s." - % file + "[red]ERROR: Symbolic links creation failed for file %s." % file ) stderr.print("Traceback: %s" % e) continue @@ -232,7 +231,11 @@ def create_new_service(self): self.samples_json() if self.resolution_info["service_state"] != "in_progress": self.rest_api.put_request( - "update-state", "resolution", self.resolution_id, "state", "in_progress" + "update-state", + "resolution", + self.resolution_id, + "state", + "in_progress", ) else: diff --git a/bu_isciii/utils.py b/bu_isciii/utils.py index 5408e7c7..07ba8293 100755 --- a/bu_isciii/utils.py +++ b/bu_isciii/utils.py @@ -178,7 +178,7 @@ def get_service_ids(services_requested): ) stderr.print("traceback error %s" % e) sys.exit() - if service_end not in service_id_list and service_end != '': + if service_end not in service_id_list and service_end != "": service_id_list.append(service_end) service_id_list_all.append(service_end) service_id_list_all.append("all")