##// END OF EJS Templates
Make tab completion for 'from' suggest symlinked folders/modules.
Xiuming Chen -
Show More
@@ -84,7 +84,7 b' def module_list(path):'
84 # in its subdirectories. For performance reasons, do not
84 # in its subdirectories. For performance reasons, do not
85 # recurse more than one level into subdirectories.
85 # recurse more than one level into subdirectories.
86 files = []
86 files = []
87 for root, dirs, nondirs in os.walk(path):
87 for root, dirs, nondirs in os.walk(path, followlinks=True):
88 subdir = root[len(path)+1:]
88 subdir = root[len(path)+1:]
89 if subdir:
89 if subdir:
90 files.extend(pjoin(subdir, f) for f in nondirs)
90 files.extend(pjoin(subdir, f) for f in nondirs)
General Comments 0
You need to be logged in to leave comments. Login now