Skip to content

Commit 1d9e982

Browse files
committed
fix: Use listOfFailedFiles as a global variable
1 parent c0386c3 commit 1d9e982

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/DIRAC/DataManagementSystem/scripts/dirac_dms_directory_sync.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,8 @@ def run(parameters, delete, nthreads):
503503

504504
@DIRACScript()
505505
def main():
506+
global listOfFailedFiles
507+
506508
Script.registerSwitch("D", "sync", "Make target directory identical to source")
507509
Script.registerSwitch("j:", "parallel=", "Multithreaded download and upload")
508510
Script.parseCommandLine(ignoreErrors=False)

0 commit comments

Comments
 (0)