mirror of
https://github.com/gryf/pygtktalog.git
synced 2026-10-08 23:02:38 +02:00
* Of course, I forgot to change variable name :/
This commit is contained in:
1 parent
0e5b5037f9
commit
a9efa754d8
1 file changed
+3
-2
@@ -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,",
|
||||
|
||||
Reference in new issue
Block a user