File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1375,7 +1375,7 @@ def get_argument_parser(profiles=None):
13751375 group_behavior .add_argument (
13761376 "--keep-storage-local-copies" ,
13771377 action = "store_true" ,
1378- help = "Keep local copies of remote input files." ,
1378+ help = "Keep local copies of remote input and output files." ,
13791379 )
13801380 group_behavior .add_argument (
13811381 "--target-files-omit-workdir-adjustment" ,
Original file line number Diff line number Diff line change @@ -1291,7 +1291,8 @@ def execute(
12911291
12921292 if not dryrun_or_touch :
12931293 async_run (self .dag .store_storage_outputs ())
1294- async_run (self .dag .cleanup_storage_objects ())
1294+ if not self .storage_settings .keep_storage_local :
1295+ async_run (self .dag .cleanup_storage_objects ())
12951296
12961297 if success :
12971298 if self .dryrun :
You can’t perform that action at this time.
0 commit comments