File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 2626import tarfile
2727import sys
2828
29- TEST_DATA_VERSION = "0.7 .0"
29+ TEST_DATA_VERSION = "0.8 .0"
3030ARCHIVE_URL_TEMPL = "https://github.com/openzim/zim-testing-suite/releases/download/{version}/zim-testing-suite-{version}.tar.gz"
3131
3232if __name__ == "__main__" :
Original file line number Diff line number Diff line change @@ -125,12 +125,7 @@ namespace zim
125125 }
126126
127127 bool Fileheader::hasTitleListingV0 () const {
128- // A non-released version of libzim existed which signaled the absence of
129- // the title index v0 by setting titleIdxPos to 0 (instead of 0xff..ff).
130- // Such ZIM files are buggy since they cannot be opened by earlier version
131- // of libzim, but we temporarily acknowledge their existence until they are
132- // removed from zim-testing-suite.
133- return titleIdxPos != 0 && titleIdxPos != offset_type (-1 );
128+ return titleIdxPos != offset_type (-1 );
134129 }
135130
136131 void Fileheader::sanity_check () const {
You can’t perform that action at this time.
0 commit comments