Commit b68c8c59 authored by Roland Haas's avatar Roland Haas
Browse files

store directory content just after directory

parent 419b8782
......@@ -239,8 +239,7 @@ class GlobusTransferHelper:
new_entry = entry.copy()
new_entry['path'] = full_path
retval[full_name] = new_entry
if(depth > 1 or depth == 'infinite'):
for entry in entries:
if(depth > 1 or depth == 'infinite'):
if(entry['type'] == 'dir'):
new_depth = depth if depth == 'infinite' else depth-1
new_prefix = prefix + entry['name'] + "/"
......
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