@@ -171,41 +171,41 @@ def handler(signum, frame):
171171 input_file , fnamedict , True )
172172 if (checkcompressfile == "catfile" ):
173173 tmpout = pycatfile .RePackArchiveFile (input_file , getargs .output , getargs .compression , getargs .wholefile ,
174- getargs .level , pycatfile .compressionlistalt , False , 0 , 0 , getargs .checksum , getargs .skipchecksum , [], fnamedict , getargs .verbose , False )
174+ getargs .level , pycatfile .compressionlistalt , False , 0 , 0 , [ getargs .checksum , getargs . checksum , getargs . checksum ] , getargs .skipchecksum , [], fnamedict , getargs .verbose , False )
175175 else :
176176 tmpout = pycatfile .PackArchiveFileFromInFile (
177- input_file , getargs .output , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , getargs .checksum , [], fnamedict , getargs .verbose , False )
177+ input_file , getargs .output , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , [ getargs .checksum , getargs . checksum , getargs . checksum ] , [], fnamedict , getargs .verbose , False )
178178 if (not tmpout ):
179179 sys .exit (1 )
180180 else :
181181 pycatfile .PackArchiveFile (getargs .input , getargs .output , getargs .text , getargs .compression ,
182- getargs .wholefile , getargs .level , pycatfile .compressionlistalt , False , getargs .checksum , [], fnamedict , getargs .verbose , False )
182+ getargs .wholefile , getargs .level , pycatfile .compressionlistalt , False , [ getargs .checksum , getargs . checksum , getargs . checksum ] , [], fnamedict , getargs .verbose , False )
183183 elif active_action == 'repack' :
184184 if getargs .convert :
185185 checkcompressfile = pycatfile .CheckCompressionSubType (
186186 input_file , fnamedict , True )
187187 if (checkcompressfile == "catfile" ):
188188 pycatfile .RePackArchiveFile (input_file , getargs .output , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt ,
189- False , 0 , 0 , getargs .checksum , getargs .skipchecksum , [], fnamedict , getargs .verbose , False )
189+ False , 0 , 0 , [ getargs .checksum , getargs . checksum , getargs . checksum ] , getargs .skipchecksum , [], fnamedict , getargs .verbose , False )
190190 else :
191191 pycatfile .PackArchiveFileFromInFile (input_file , getargs .output , getargs .compression ,
192- getargs .wholefile , getargs .level , pycatfile .compressionlistalt , getargs .checksum , [], fnamedict , getargs .verbose , False )
192+ getargs .wholefile , getargs .level , pycatfile .compressionlistalt , [ getargs .checksum , getargs . checksum , getargs . checksum ] , [], fnamedict , getargs .verbose , False )
193193 if (not tmpout ):
194194 sys .exit (1 )
195195 else :
196196 pycatfile .RePackArchiveFile (input_file , getargs .output , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt ,
197- False , 0 , 0 , getargs .checksum , getargs .skipchecksum , [], fnamedict , getargs .verbose , False )
197+ False , 0 , 0 , [ getargs .checksum , getargs . checksum , getargs . checksum ] , getargs .skipchecksum , [], fnamedict , getargs .verbose , False )
198198 elif active_action == 'extract' :
199199 if getargs .convert :
200200 checkcompressfile = pycatfile .CheckCompressionSubType (
201201 input_file , fnamedict , True )
202202 tempout = BytesIO ()
203203 if (checkcompressfile == "catfile" ):
204204 tmpout = pycatfile .RePackArchiveFile (input_file , tempout , getargs .compression , getargs .wholefile ,
205- getargs .level , pycatfile .compressionlistalt , False , 0 , 0 , getargs .checksum , getargs .skipchecksum , [], fnamedict , False , False )
205+ getargs .level , pycatfile .compressionlistalt , False , 0 , 0 , [ getargs .checksum , getargs . checksum , getargs . checksum ] , getargs .skipchecksum , [], fnamedict , False , False )
206206 else :
207207 tmpout = pycatfile .PackArchiveFileFromInFile (
208- input_file , tempout , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , getargs .checksum , [], fnamedict , False , False )
208+ input_file , tempout , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , [ getargs .checksum , getargs . checksum , getargs . checksum ] , [], fnamedict , False , False )
209209 if (not tmpout ):
210210 sys .exit (1 )
211211 input_file = tempout
@@ -233,10 +233,10 @@ def handler(signum, frame):
233233 tempout = BytesIO ()
234234 if (checkcompressfile == "catfile" ):
235235 tmpout = pycatfile .RePackArchiveFile (input_file , tempout , getargs .compression , getargs .wholefile ,
236- getargs .level , pycatfile .compressionlistalt , False , 0 , 0 , getargs .checksum , getargs .skipchecksum , [], fnamedict , False , False )
236+ getargs .level , pycatfile .compressionlistalt , False , 0 , 0 , [ getargs .checksum , getargs . checksum , getargs . checksum ] , getargs .skipchecksum , [], fnamedict , False , False )
237237 else :
238238 tmpout = pycatfile .PackArchiveFileFromInFile (
239- input_file , tempout , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , getargs .checksum , [], fnamedict , False , False )
239+ input_file , tempout , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , [ getargs .checksum , getargs . checksum , getargs . checksum ] , [], fnamedict , False , False )
240240 input_file = tempout
241241 if (not tmpout ):
242242 sys .exit (1 )
0 commit comments