##// END OF EJS Templates
censor: put the tuple of open files in an explicit variable...
marmoute -
r48258:f7a94e2d default
parent child Browse files
Show More
@@ -246,13 +246,14 b' def v2_censor(rl, tr, censornode, tombst'
246 246
247 247 # we dont need to open the old index file since its content already
248 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_data_file,
251 252 old_sidedata_file,
252 253 new_index_file,
253 254 new_data_file,
254 255 new_sidedata_file,
255 ):
256 ) = open_files
256 257 new_index_file.seek(0, os.SEEK_END)
257 258 assert new_index_file.tell() == index_cutoff
258 259 new_data_file.seek(0, os.SEEK_END)
General Comments 0
You need to be logged in to leave comments. Login now