Skip to content

Commit 3dcc131

Browse files
committed
Update pycatfile.py
1 parent 3db4fd1 commit 3dcc131

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

pycatfile.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4216,7 +4216,6 @@ def ReadFileHeaderDataWithContent(fp, listonly=False, uncompress=True, skipcheck
42164216
if(not hasattr(fp, "read")):
42174217
return False
42184218
delimiter = formatspecs['format_delimiter']
4219-
fheaderstart = fp.tell()
42204219
if(formatspecs['new_style']):
42214220
HeaderOut = ReadFileHeaderDataBySize(fp, delimiter)
42224221
else:
@@ -4293,8 +4292,6 @@ def ReadFileHeaderDataWithContent(fp, listonly=False, uncompress=True, skipcheck
42934292
fname + " at offset " + str(fheaderstart))
42944293
VerbosePrintOut("'" + fcs + "' != " + "'" + newfcs + "'")
42954294
return False
4296-
fhend = fp.tell() - 1
4297-
fcontentstart = fp.tell()
42984295
fcontents = MkTempFile()
42994296
if(fsize > 0 and not listonly):
43004297
if(fcompression == "none" or fcompression == "" or fcompression == "auto"):
@@ -4326,7 +4323,6 @@ def ReadFileHeaderDataWithContent(fp, listonly=False, uncompress=True, skipcheck
43264323
shutil.copyfileobj(cfcontents, fcontents, length=__filebuff_size__)
43274324
cfcontents.close()
43284325
fcontents.seek(0, 0)
4329-
fcontentend = fp.tell()
43304326
if(re.findall("^\\+([0-9]+)", fseeknextfile)):
43314327
fseeknextasnum = int(fseeknextfile.replace("+", ""))
43324328
if(abs(fseeknextasnum) == 0):

0 commit comments

Comments
 (0)