Skip to content

Commit

Permalink
fixed black
Browse files Browse the repository at this point in the history
  • Loading branch information
svarona committed Jun 26, 2024
1 parent 7d66ed3 commit 0570758
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions bu_isciii/new_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion bu_isciii/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 0570758

Please sign in to comment.