1
0
mirror of https://github.com/gryf/pygtktalog.git synced 2025-12-17 11:30:19 +01:00

* Of course, I forgot to change variable name :/

This commit is contained in:
2008-04-25 06:53:56 +00:00
parent 0e5b5037f9
commit a9efa754d8

View File

@@ -415,8 +415,9 @@ class MainModel(ModelMT):
# Set correct owner, mtime and filemode on directories.
for tarinfo in directories:
try:
os.chown(os.path.join('.', tarinfo.name), t.uid)
os.utime(os.path.join('.', tarinfo.name), (0, t.mtime))
os.chown(os.path.join('.', tarinfo.name), tarinfo.uid)
os.utime(os.path.join('.', tarinfo.name),
(0, tarinfo.mtime))
except OSError:
if __debug__:
print "m_main.py: open(): setting corrext owner,",