Skip to content

Commit 65e6efa

Browse files
committed
Fixing cache bug
1 parent 38c3d08 commit 65e6efa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bin/stashcp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,9 @@ def dostashcpdirectory(sourceDir, destination, debug=False):
285285
command2 = 'xrdfs ' + stash_origin + ' stat '+ remote_file + ' | grep "IsDir" | wc -l'
286286
isdir=subprocess.Popen([command2],stdout=subprocess.PIPE,shell=True).communicate()[0].split()[0]
287287
if isdir!='0':
288-
result = dostashcpdirectory(remote_file, destination, cache, debug)
288+
result = dostashcpdirectory(remote_file, destination, debug)
289289
else:
290-
result = doStashCpSingle(remote_file,destination, cache, debug)
290+
result = doStashCpSingle(remote_file, destination, debug)
291291
# Stop transfers if something fails
292292
if result != 0:
293293
return result

0 commit comments

Comments
 (0)