Narrativeweb : some dates are incorrect in tar archive.
This commit is contained in:
parent
53dedde014
commit
9c10b59c8b
@ -8000,7 +8000,7 @@ class NavWebReport(Report):
|
|||||||
of.flush()
|
of.flush()
|
||||||
tarinfo = tarfile.TarInfo(self.cur_fname)
|
tarinfo = tarfile.TarInfo(self.cur_fname)
|
||||||
tarinfo.size = len(string_io.getvalue())
|
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():
|
if not win():
|
||||||
tarinfo.uid = os.getuid()
|
tarinfo.uid = os.getuid()
|
||||||
tarinfo.gid = os.getgid()
|
tarinfo.gid = os.getgid()
|
||||||
|
Loading…
Reference in New Issue
Block a user