Was adding .svn and subdirectories; this should properly limit subdirs
svn: r13832
This commit is contained in:
parent
00f2a1859a
commit
9f74bdacce
@ -108,6 +108,10 @@ class BasePluginManager(object):
|
||||
return False # return value is True for error
|
||||
|
||||
for (dirpath, dirnames, filenames) in os.walk(direct):
|
||||
root, subdir = os.path.split(dirpath)
|
||||
if subdir.startswith("."):
|
||||
dirnames[:] = []
|
||||
continue
|
||||
for dirname in dirnames:
|
||||
# Skip hidden and system directories:
|
||||
if dirname.startswith(".") or dirname in ["po", "locale"]:
|
||||
|
Loading…
Reference in New Issue
Block a user