Skip to content

Commit

Permalink
fix: editorconfig issue
Browse files Browse the repository at this point in the history
  • Loading branch information
aldy505 committed May 18, 2024
1 parent 85fa71f commit da55eff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ def ping(host: str) -> bool:
for container in containers:
print(f"Running commands for {container} on {server}")
_, o1, e1 = client.exec_command(
f"echo '{SUDO_PASSWORD[server]}' | sudo -S bash -c 'cd {container}; if [ -f \"setup.sh\" ]; then\n chmod +x setup.sh && sudo ./setup.sh\nfi'"
f"echo '{SUDO_PASSWORD[server]}' | sudo -S bash -c 'cd {container};" + \
f"if [ -f \"setup.sh\" ]; then\n chmod +x setup.sh && sudo ./setup.sh\nfi'"
)
for c in iter(lambda: o1.read(1), b""):
sys.stdout.buffer.write(c)
Expand Down

0 comments on commit da55eff

Please sign in to comment.