Fixed RET504 (unnecessary-assign)

This commit is contained in:
Teal Dulcet
2024-03-10 07:54:51 -04:00
committed by Joshua Tauberer
parent 6bfd1e5140
commit b7f70b17ac
5 changed files with 6 additions and 12 deletions
+1 -2
View File
@@ -257,8 +257,7 @@ def get_duplicity_env_vars(env):
return env
def get_target_type(config):
protocol = config["target"].split(":")[0]
return protocol
return config["target"].split(":")[0]
def perform_backup(full_backup):
env = load_environment()