From 855a5d9234813ef0d4db091c998da753c2e70122 Mon Sep 17 00:00:00 2001 From: Lubomir Dolezal <lubomir.bucek@eox.at> Date: Wed, 19 Jan 2022 16:40:35 +0100 Subject: [PATCH] lint --- registrar/source.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/registrar/source.py b/registrar/source.py index d1ca689..cc5d96e 100644 --- a/registrar/source.py +++ b/registrar/source.py @@ -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 -- GitLab