* src/plugins/WritePkg.py: don't set uid on Windows
svn: r7299
This commit is contained in:
parent
6bd8a7514e
commit
07361c08ca
@ -1,5 +1,6 @@
|
||||
2006-09-01 Brian Matherly <brian@gramps-project.org>
|
||||
* src/plugins/Calendar.py: fix filter typo
|
||||
* src/plugins/WritePkg.py: don't set uid on Windows
|
||||
|
||||
2006-09-01 Alex Roitman <shura@gramps-project.org>
|
||||
* src/GrampsDb/_DbUtils.py: Use normal addition: this updates
|
||||
|
@ -188,8 +188,9 @@ class PackageWriter:
|
||||
tarinfo = tarfile.TarInfo('data.gramps')
|
||||
tarinfo.size = len(g.getvalue())
|
||||
tarinfo.mtime = time.time()
|
||||
tarinfo.uid = os.getuid()
|
||||
tarinfo.gid = os.getgid()
|
||||
if os.sys.platform != "win32":
|
||||
tarinfo.uid = os.getuid()
|
||||
tarinfo.gid = os.getgid()
|
||||
g.seek(0)
|
||||
archive.addfile(tarinfo,g)
|
||||
archive.close()
|
||||
|
Loading…
Reference in New Issue
Block a user