summaryrefslogtreecommitdiff
path: root/tests/test_profile.py
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-02-02 18:48:58 +0100
committerMichał Górny <mgorny@gentoo.org>2018-02-02 18:48:58 +0100
commit42eb2bbd5bbc0fe63df3fc73dee94f8df5ea988b (patch)
treed0913bb278096ffc13c4056d63eb083c9107bafb /tests/test_profile.py
parent7d8518f0af961cbfdcfa22c9e35a9233965ecd0a (diff)
downloadgemato-42eb2bbd5bbc0fe63df3fc73dee94f8df5ea988b.tar.gz
recursiveloader: Check for cross-device directories earlier in loop
Check for cross-device directory when starting to process the directory rather than for each subdirectory to be processed. This will avoid double stat() call in the future. It also means that cross-device exceptions are raised a little later, when recurring into the directory rather than before doing that. However, the starting directory is now also tested.
Diffstat (limited to 'tests/test_profile.py')
0 files changed, 0 insertions, 0 deletions