Skip to content

Commit 692e15d

Browse files
authored
Add files via upload
1 parent bcfaa17 commit 692e15d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

pyarchivefile.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5923,6 +5923,15 @@ def AppendFilesWithContent(infiles, fp, dirlistfromtxt=False, extradata=[], json
59235923
FullSizeFilesAlt += fstatinfo.st_rsize
59245924
except AttributeError:
59255925
FullSizeFilesAlt += fstatinfo.st_size
5926+
fblksize = 0
5927+
fblocks = 0
5928+
fflags = 0
5929+
if(hasattr(fstatinfo, "st_blksize")):
5930+
fblksize = int(fstatinfo.st_blksize)
5931+
if(hasattr(fstatinfo, "st_blocks")):
5932+
fblocks = int(fstatinfo.st_blocks)
5933+
if(hasattr(fstatinfo, "st_flags")):
5934+
fflags = int(fstatinfo.st_flags)
59265935
ftype = 0
59275936
if(hasattr(os.path, "isjunction") and os.path.isjunction(fname)):
59285937
ftype = 13

0 commit comments

Comments
 (0)