Skip to content

Commit

Permalink
try this
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Jan 11, 2025
1 parent 5cafe3a commit 3f7f5c6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pioreactor/utils/networking.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def rsync(*args: str) -> None:

l = create_logger("rsync")
try:
l.info("rsync" + " ".join(args))
r = check_call(("rsync",) + args, stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT)
l.info("rsync" + " " + " ".join(args))
r = check_call(("rsync",) + args)
l.info(r)
except CalledProcessError as e:
raise RsyncError from e
Expand All @@ -30,6 +30,7 @@ def cp_file_across_cluster(unit: str, localpath: str, remotepath: str, timeout:
try:
rsync(
"-z",
"-v",
"--timeout",
f"{timeout}",
"--inplace",
Expand Down

0 comments on commit 3f7f5c6

Please sign in to comment.