Silence bandit paranoia on certain lines
This commit is contained in:
parent
9ebd8ff990
commit
62ec8e8b1b
3 changed files with 5 additions and 5 deletions
|
|
@ -200,7 +200,7 @@ def remote_harvest(
|
|||
|
||||
# Stream a tarball back to the local machine (avoid creating a tar file on the remote).
|
||||
cmd = f"tar -cz -C {rbundle} ."
|
||||
_stdin, stdout, stderr = ssh.exec_command(cmd)
|
||||
_stdin, stdout, stderr = ssh.exec_command(cmd) # nosec
|
||||
with open(local_tgz, "wb") as f:
|
||||
while True:
|
||||
chunk = stdout.read(1024 * 128)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue