Skip to content

Commit 73ac554

Browse files
author
Kazuki Suzuki Przyborowski
committed
Update pycatfile.py
1 parent 4617013 commit 73ac554

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pycatfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5124,7 +5124,7 @@ def PackCatFileFromDirList(infiles, outfile, dirlistfromtxt=False, fmttype="auto
51245124

51255125

51265126
def PackCatFileFromTarFile(infile, outfile, fmttype="auto", compression="auto", compresswholefile=True, compressionlevel=None, compressionuselist=compressionlistalt, checksumtype=["crc32", "crc32", "crc32"], extradata=[], formatspecs=__file_format_dict__, verbose=False, returnfp=False):
5127-
if(IsNestedDict(formatspecs) and fmttype=="auto" and
5127+
if(IsNestedDict(formatspecs) and fmttype=="auto" and
51285128
(outfile != "-" and outfile is not None and not hasattr(outfile, "read") and not hasattr(outfile, "write"))):
51295129
get_in_ext = os.path.splitext(outfile)
51305130
tmpfmt = GetKeyByFormatExtension(get_in_ext[1], formatspecs=__file_format_multi_dict__)
@@ -6028,7 +6028,7 @@ def PackCatFileFromSevenZipFile(infile, outfile, fmttype="auto", compression="au
60286028

60296029
if(py7zr_support):
60306030
def PackCatFileFromSevenZipFile(infile, outfile, fmttype="auto", compression="auto", compresswholefile=True, compressionlevel=None, compressionuselist=compressionlistalt, checksumtype=["crc32", "crc32", "crc32"], extradata=[], formatspecs=__file_format_dict__, verbose=False, returnfp=False):
6031-
if(IsNestedDict(formatspecs) and fmttype=="auto" and
6031+
if(IsNestedDict(formatspecs) and fmttype=="auto" and
60326032
(outfile != "-" and outfile is not None and not hasattr(outfile, "read") and not hasattr(outfile, "write"))):
60336033
get_in_ext = os.path.splitext(outfile)
60346034
tmpfmt = GetKeyByFormatExtension(get_in_ext[1], formatspecs=__file_format_multi_dict__)
@@ -8912,7 +8912,7 @@ def SevenZipFileToArrayAlt(infile, fmttype=__file_format_default__, listonly=Fal
89128912

89138913
if(py7zr_support):
89148914
def SevenZipFileToArrayAlt(infile, fmttype=__file_format_default__, listonly=False, contentasfile=True, checksumtype=["crc32", "crc32", "crc32"], extradata=[], formatspecs=__file_format_dict__, verbose=False):
8915-
if(IsNestedDict(formatspecs) and fmttype in formatspecs):
8915+
if(IsNestedDict(formatspecs) and fmttype in formatspecs):
89168916
formatspecs = formatspecs[fmttype]
89178917
elif(IsNestedDict(formatspecs) and fmttype not in formatspecs):
89188918
fmttype = __file_format_default__

0 commit comments

Comments
 (0)