Skip to content

Commit 3f19e37

Browse files
Fix symlink subdirs not uploaded to remote (#185)
1 parent f5690a7 commit 3f19e37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpdispatcher/ssh_context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def _walk_directory(self, files, work_path, file_list, directory_list):
310310
if os.path.isfile(file_name):
311311
file_list.append(file_name)
312312
elif os.path.isdir(file_name):
313-
for root, dirs, files in os.walk(file_name, topdown=False):
313+
for root, dirs, files in os.walk(file_name, topdown=False, followlinks=True):
314314
if not files:
315315
directory_list.append(root)
316316
for name in files:

0 commit comments

Comments
 (0)