Skip to content

Commit

Permalink
rollout for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jrybicki-jsc committed Sep 11, 2023
1 parent 93beda6 commit ea0e7f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions webdav_stageout.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ def copy(**context):
working_dir = Variable.get("working_dir", default_var="/tmp/")

copied = {}
if file_exist(sftp=sftp_client, name=params['path']):
mappings = [params['path']]
else:
mappings = walk_dir(client=sclient, path=params["path"], prefix="")
#if file_exist(sftp=sftp_client, name=params['path']):
# mappings = [params['path']]
#else:
mappings = walk_dir(client=sclient, path=params["path"], prefix="")

for fname in mappings:
with tempfile.NamedTemporaryFile(dir=working_dir) as tmp:
Expand Down

0 comments on commit ea0e7f6

Please sign in to comment.