Narrativeweb : some dates are incorrect in tar archive.
This commit is contained in:
parent
87e5279642
commit
1cbb0f990f
@ -9168,7 +9168,7 @@ class NavWebReport(Report):
|
||||
output_file.flush()
|
||||
tarinfo = tarfile.TarInfo(self.cur_fname)
|
||||
tarinfo.size = len(string_io.getvalue())
|
||||
tarinfo.mtime = date if date is not None else time.time()
|
||||
tarinfo.mtime = date if date != 0 else time.time()
|
||||
if not win():
|
||||
tarinfo.uid = os.getuid()
|
||||
tarinfo.gid = os.getgid()
|
||||
|
Loading…
Reference in New Issue
Block a user