Skip to content

Commit 272ffca

Browse files
author
和猫 Kazuki Suzuki 和希鈴木 🐱
authored
Add files via upload
1 parent 653036e commit 272ffca

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

archivefile.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def handler(signum, frame):
172172
if getargs.convert:
173173
checkcompressfile = pyarchivefile.CheckCompressionSubType(
174174
input_file, fnamedict, True)
175-
if((IsNestedDict(fnamedict) and checkcompressfile in fnamedict) or (IsSingleDict(fnamedict) and checkcompressfile==fnamedict['format_magic'])):
175+
if((pyarchivefile.IsNestedDict(fnamedict) and checkcompressfile in fnamedict) or (pyarchivefile.IsSingleDict(fnamedict) and checkcompressfile==fnamedict['format_magic'])):
176176
tmpout = pyarchivefile.RePackArchiveFile(input_file, getargs.output, getargs.compression, getargs.wholefile, getargs.level, pyarchivefile.compressionlistalt, False, 0, 0, [getargs.checksum, getargs.checksum, getargs.checksum, getargs.checksum], getargs.skipchecksum, [], {}, fnamedict, getargs.verbose, False)
177177
else:
178178
tmpout = pyarchivefile.PackArchiveFileFromInFile(
@@ -185,7 +185,7 @@ def handler(signum, frame):
185185
if getargs.convert:
186186
checkcompressfile = pyarchivefile.CheckCompressionSubType(
187187
input_file, fnamedict, True)
188-
if((IsNestedDict(fnamedict) and checkcompressfile in fnamedict) or (IsSingleDict(fnamedict) and checkcompressfile==fnamedict['format_magic'])):
188+
if((pyarchivefile.IsNestedDict(fnamedict) and checkcompressfile in fnamedict) or (pyarchivefile.IsSingleDict(fnamedict) and checkcompressfile==fnamedict['format_magic'])):
189189
pyarchivefile.RePackArchiveFile(input_file, getargs.output, getargs.compression, getargs.wholefile, getargs.level, pyarchivefile.compressionlistalt,
190190
False, 0, 0, [getargs.checksum, getargs.checksum, getargs.checksum, getargs.checksum], getargs.skipchecksum, [], {}, fnamedict, getargs.verbose, False)
191191
else:
@@ -200,7 +200,7 @@ def handler(signum, frame):
200200
checkcompressfile = pyarchivefile.CheckCompressionSubType(
201201
input_file, fnamedict, True)
202202
tempout = BytesIO()
203-
if((IsNestedDict(fnamedict) and checkcompressfile in fnamedict) or (IsSingleDict(fnamedict) and checkcompressfile==fnamedict['format_magic'])):
203+
if((pyarchivefile.IsNestedDict(fnamedict) and checkcompressfile in fnamedict) or (pyarchivefile.IsSingleDict(fnamedict) and checkcompressfile==fnamedict['format_magic'])):
204204
tmpout = pyarchivefile.RePackArchiveFile(input_file, tempout, getargs.compression, getargs.wholefile, getargs.level, pyarchivefile.compressionlistalt, False, 0, 0, [getargs.checksum, getargs.checksum, getargs.checksum, getargs.checksum], getargs.skipchecksum, [], {}, fnamedict, False, False)
205205
else:
206206
tmpout = pyarchivefile.PackArchiveFileFromInFile(
@@ -214,7 +214,7 @@ def handler(signum, frame):
214214
if getargs.convert:
215215
checkcompressfile = pyarchivefile.CheckCompressionSubType(
216216
input_file, fnamedict, True)
217-
if((IsNestedDict(fnamedict) and checkcompressfile in fnamedict) or (IsSingleDict(fnamedict) and checkcompressfile==fnamedict['format_magic'])):
217+
if((pyarchivefile.IsNestedDict(fnamedict) and checkcompressfile in fnamedict) or (pyarchivefile.IsSingleDict(fnamedict) and checkcompressfile==fnamedict['format_magic'])):
218218
tmpout = pyarchivefile.ArchiveFileListFiles(input_file, "auto", 0, 0, getargs.skipchecksum, fnamedict, False, getargs.verbose, False, False)
219219
else:
220220
tmpout = pyarchivefile.InFileListFiles(input_file, getargs.verbose, fnamedict, False, False, False)
@@ -227,7 +227,7 @@ def handler(signum, frame):
227227
checkcompressfile = pyarchivefile.CheckCompressionSubType(
228228
input_file, fnamedict, True)
229229
tempout = BytesIO()
230-
if((IsNestedDict(fnamedict) and checkcompressfile in fnamedict) or (IsSingleDict(fnamedict) and checkcompressfile==fnamedict['format_magic'])):
230+
if((pyarchivefile.IsNestedDict(fnamedict) and checkcompressfile in fnamedict) or (pyarchivefile.IsSingleDict(fnamedict) and checkcompressfile==fnamedict['format_magic'])):
231231
tmpout = pyarchivefile.RePackArchiveFile(input_file, tempout, getargs.compression, getargs.wholefile, getargs.level, pyarchivefile.compressionlistalt, False, 0, 0, [getargs.checksum, getargs.checksum, getargs.checksum, getargs.checksum], getargs.skipchecksum, [], {}, fnamedict, False, False, False)
232232
else:
233233
tmpout = pyarchivefile.PackArchiveFileFromInFile(

0 commit comments

Comments
 (0)