Commit 9e0e6633 authored by Andreas Jung's avatar Andreas Jung

Collector #1895: omit 'var' folder from recursive traversal causing trouble

with DirectoryStorage
parent e6c3ebf9
......@@ -619,7 +619,7 @@ def walk_with_symlinks(path, visit, arg):
except os.error:
return
visit(arg, path, names)
exceptions = (os.curdir, os.pardir)
exceptions = (os.curdir, os.pardir, 'var')
for name in names:
if name not in exceptions:
name = os.path.join(path, name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment