This commit is contained in:
Marc Beninca 2024-06-07 10:36:24 +02:00
parent 04d9661def
commit 9421afcedb
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -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)