Commit 419b8782 authored by Roland Haas's avatar Roland Haas
Browse files

fix type error in error message

parent d422e257
......@@ -215,7 +215,7 @@ class GlobusTransferHelper:
YYYY-MM-DD HH:MM:SS+00:00
"""
if(depth < 1 and depth != 'infinite'):
raise ValueError('depth must be at least 1, given: %d' % depth)
raise ValueError('depth must be at least 1, given: %s' % str(depth))
def real_ls(tclient, endpoint, path, depth, prefix):
"""
Recursively called for each directory encountered.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment