From 9421afcedbe8b14bc57d72fd8187d3ff7ee5e48e Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 7 Jun 2024 10:36:24 +0200 Subject: [PATCH] "" --- cd/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cd/__init__.py b/cd/__init__.py index 6b90987..4ea730e 100644 --- a/cd/__init__.py +++ b/cd/__init__.py @@ -30,7 +30,7 @@ def cd_clone_branch(): print(f"""\ {project.url} ↓ -""", end=str(), flush=True) +""", end="", flush=True) ps.run("git", "clone", "--branch", project.branch, @@ -50,7 +50,7 @@ def cd_synchronize(): source = "out" user = "cd" # - root = os.sep.join([str(), + root = os.sep.join(["", user, project.branch, projects.group, project.name]) # target = f"{user}@{host}:{root}" @@ -125,12 +125,12 @@ def set_ssh(*arguments): def open(*arguments): - print(env.CD_OPEN, end=str()) + print(env.CD_OPEN, end="") print(*arguments, flush=True) def shut(*arguments): - print(env.CD_SHUT, end=str()) + print(env.CD_SHUT, end="") print(*arguments, flush=True)