summaryrefslogtreecommitdiff
path: root/tests/test_recursiveloader.py
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-02-02 18:31:38 +0100
committerMichał Górny <mgorny@gentoo.org>2018-02-02 18:31:38 +0100
commit7d8518f0af961cbfdcfa22c9e35a9233965ecd0a (patch)
treed034c43377b5875575f2a787c8bffa263557ecc1 /tests/test_recursiveloader.py
parentedf36c5acd59b7059588efc10828ed420ba203a7 (diff)
downloadgemato-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