When walking through module directories, always follow symlinks. (#15784)
Fixes #15783
This commit is contained in:
parent
409bfe4d0f
commit
781de83762
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ class PluginLoader:
|
|||
def _all_directories(self, dir):
|
||||
results = []
|
||||
results.append(dir)
|
||||
for root, subdirs, files in os.walk(dir):
|
||||
for root, subdirs, files in os.walk(dir, followlinks=True):
|
||||
if '__init__.py' in files:
|
||||
for x in subdirs:
|
||||
results.append(os.path.join(root,x))
|
||||
|
|
Loading…
Reference in a new issue