Skip to content

Commit e05c66c

Browse files
committed
black / flake8
1 parent 4926010 commit e05c66c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/actinia/actinia.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def __check_version(self):
9292
self.__check_version()
9393
else:
9494
raise Exception(
95-
f"Connection to actinia server <{self.url}> failed!"
95+
"Connection to actinia server <%s> failed!", self.url
9696
)
9797

9898
def get_version(self):
@@ -151,7 +151,9 @@ def __request_locations(self):
151151
loc_response = request_and_check(
152152
"GET", url, **{"timeout": self.timeout, "auth": (self.__auth)}
153153
)
154-
loc_names = loc_response.get("locations") or loc_response.get("projects")
154+
loc_names = loc_response.get("locations") or loc_response.get(
155+
"projects"
156+
)
155157
if not loc_names:
156158
raise Exception("Authentication is not set.")
157159

0 commit comments

Comments
 (0)