diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-02-02 18:31:38 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-02-02 18:31:38 +0100 |
commit | 7d8518f0af961cbfdcfa22c9e35a9233965ecd0a (patch) | |
tree | d034c43377b5875575f2a787c8bffa263557ecc1 /tests/test_recursiveloader.py | |
parent | edf36c5acd59b7059588efc10828ed420ba203a7 (diff) | |
download | gemato-7d8518f0af961cbfdcfa22c9e35a9233965ecd0a.tar.gz |
recursiveloader: Do not recur into directories when file was expected
When verifying, do not let os.walk() recur into a directory for which we
have an entry requesting it to be a file. The verification is going
to fail on the directory entry anyway, so there is no point in seeking
matches further and this could have currently resulted in crossing
filesystem boundaries (since the cross-fs test is deferred to verifying
thread).
Diffstat (limited to 'tests/test_recursiveloader.py')
0 files changed, 0 insertions, 0 deletions