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:
Doug Blank 2009-11-01 15:45:53 +00:00
parent 05de29cbf8
commit d23721d35f

View File

@ -106,7 +106,7 @@ class BasePluginManager(object):
if not os.path.isdir(direct):
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.
for dirname in dirnames:
if dirname.startswith("."):