mirror of
https://github.com/gryf/pygtktalog.git
synced 2025-12-17 19:40:21 +01:00
* Of course, I forgot to change variable name :/
This commit is contained in:
@@ -415,8 +415,9 @@ class MainModel(ModelMT):
|
|||||||
# Set correct owner, mtime and filemode on directories.
|
# Set correct owner, mtime and filemode on directories.
|
||||||
for tarinfo in directories:
|
for tarinfo in directories:
|
||||||
try:
|
try:
|
||||||
os.chown(os.path.join('.', tarinfo.name), t.uid)
|
os.chown(os.path.join('.', tarinfo.name), tarinfo.uid)
|
||||||
os.utime(os.path.join('.', tarinfo.name), (0, t.mtime))
|
os.utime(os.path.join('.', tarinfo.name),
|
||||||
|
(0, tarinfo.mtime))
|
||||||
except OSError:
|
except OSError:
|
||||||
if __debug__:
|
if __debug__:
|
||||||
print "m_main.py: open(): setting corrext owner,",
|
print "m_main.py: open(): setting corrext owner,",
|
||||||
|
|||||||
Reference in New Issue
Block a user