EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 855a5d92 authored by Lubomir Dolezal's avatar Lubomir Dolezal
Browse files

lint

parent f83eab66
No related branches found
No related tags found
No related merge requests found
Pipeline #20708 passed
......@@ -94,8 +94,8 @@ class SwiftSource(Source):
project_name: str = None,
project_id: str = None,
region_name: str = None,
project_domain_id: str=None,
project_domain_name: str=None,
project_domain_id: str = None,
project_domain_name: str = None,
user_domain_id: str = None,
user_domain_name: str = None,
auth_url: str = None,
......@@ -144,7 +144,7 @@ class SwiftSource(Source):
fullpath = path.replace("swift://", "")
else:
# fallback if in schema /bucket/object or bucket/object
fullpath = (path[1:] if path.startswith("/") else path)
fullpath = path[1:] if path.startswith("/") else path
container, _, path = fullpath.partition("/")
return container, path
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment