Allow plugin manager to follow links (so you can add a link in plugins to a development dir)
svn: r13479
This commit is contained in:
parent
05de29cbf8
commit
d23721d35f
@ -106,7 +106,7 @@ class BasePluginManager(object):
|
|||||||
if not os.path.isdir(direct):
|
if not os.path.isdir(direct):
|
||||||
return False # return value is True for error
|
return False # return value is True for error
|
||||||
|
|
||||||
for (dirpath, dirnames, filenames) in os.walk(direct):
|
for (dirpath, dirnames, filenames) in os.walk(direct, followlinks=True):
|
||||||
# Skip hidden directories.
|
# Skip hidden directories.
|
||||||
for dirname in dirnames:
|
for dirname in dirnames:
|
||||||
if dirname.startswith("."):
|
if dirname.startswith("."):
|
||||||
|
Loading…
Reference in New Issue
Block a user