Show More
@@ -246,13 +246,14 b' def v2_censor(rl, tr, censornode, tombst' | |||||
246 |
|
246 | |||
247 | # we dont need to open the old index file since its content already |
|
247 | # we dont need to open the old index file since its content already | |
248 | # exist in a usable form in `old_index`. |
|
248 | # exist in a usable form in `old_index`. | |
249 |
with all_files() as |
|
249 | with all_files() as open_files: | |
250 |
|
|
250 | ( | |
251 |
old_ |
|
251 | old_data_file, | |
252 |
|
|
252 | old_sidedata_file, | |
253 |
|
|
253 | new_index_file, | |
254 |
new_ |
|
254 | new_data_file, | |
255 | ): |
|
255 | new_sidedata_file, | |
|
256 | ) = open_files | |||
256 | new_index_file.seek(0, os.SEEK_END) |
|
257 | new_index_file.seek(0, os.SEEK_END) | |
257 | assert new_index_file.tell() == index_cutoff |
|
258 | assert new_index_file.tell() == index_cutoff | |
258 | new_data_file.seek(0, os.SEEK_END) |
|
259 | new_data_file.seek(0, os.SEEK_END) |
General Comments 0
You need to be logged in to leave comments.
Login now