Skip to content

Commit ded6386

Browse files
authored
Merge pull request #113 from djw8605/fix-debug
Fix debug statement
2 parents 80c020c + 2f3b262 commit ded6386

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

stashcp/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
TIMEOUT = 300
5555
DIFF = TIMEOUT * 10
5656

57-
def doWriteBack(source, destination):
57+
def doWriteBack(source, destination, debug=False):
5858
"""
5959
Do a write back to Stash using SciTokens
6060
@@ -183,7 +183,7 @@ def doStashCpSingle(sourceFile, destination, methods, debug=False):
183183
return 1
184184

185185
if dest_url.scheme == "stash":
186-
return doWriteBack(source_url.path, dest_url.path)
186+
return doWriteBack(source_url.path, dest_url.path, debug)
187187

188188
if dest_url.scheme == "file":
189189
destination = dest_url.path

0 commit comments

Comments
 (0)