Revision 9adaed700be3d24cbac00bfd487c36f740909d11 authored by Antoine Lambert on 25 September 2018, 17:18:10 UTC, committed by Antoine Lambert on 28 September 2018, 12:32:17 UTC
Two issues found regarding the way empty directories were handled:

  - _empty_dir_hash variable did not have correct type (str instead of
     bytes) so empty directory test based on hash comparison was
     always failing

  - in the step method of DirectoryIterator, no need to push a new
    frame for an empty directory as this will stop the iteration
1 parent 3a86982
History
File Mode Size
bin
debian
docs
sql
swh
utils
.gitignore -rw-r--r-- 81 bytes
AUTHORS -rw-r--r-- 112 bytes
LICENSE -rw-r--r-- 34.3 KB
MANIFEST.in -rw-r--r-- 183 bytes
Makefile -rw-r--r-- 163 bytes
Makefile.local -rw-r--r-- 182 bytes
README.db_testing -rw-r--r-- 673 bytes
README.dev -rw-r--r-- 1.7 KB
requirements-swh.txt -rw-r--r-- 88 bytes
requirements.txt -rw-r--r-- 57 bytes
setup.py -rwxr-xr-x 983 bytes

README.db_testing

back to top