Skip to content
Snippets Groups Projects
Unverified Commit ded63864 authored by Derek Weitzel's avatar Derek Weitzel Committed by GitHub
Browse files

Merge pull request #113 from djw8605/fix-debug

Fix debug statement
parents 80c020c6 2f3b262c
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ print_cache_list_names = False ...@@ -54,7 +54,7 @@ print_cache_list_names = False
TIMEOUT = 300 TIMEOUT = 300
DIFF = TIMEOUT * 10 DIFF = TIMEOUT * 10
def doWriteBack(source, destination): def doWriteBack(source, destination, debug=False):
""" """
Do a write back to Stash using SciTokens Do a write back to Stash using SciTokens
...@@ -183,7 +183,7 @@ def doStashCpSingle(sourceFile, destination, methods, debug=False): ...@@ -183,7 +183,7 @@ def doStashCpSingle(sourceFile, destination, methods, debug=False):
return 1 return 1
if dest_url.scheme == "stash": if dest_url.scheme == "stash":
return doWriteBack(source_url.path, dest_url.path) return doWriteBack(source_url.path, dest_url.path, debug)
if dest_url.scheme == "file": if dest_url.scheme == "file":
destination = dest_url.path destination = dest_url.path
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment