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

* Bugfix in extract tar archive for Python 2.4.

This commit is contained in:
2008-04-14 19:08:35 +00:00
parent db599beae3
commit 4a5b1d433f

View File

@@ -298,7 +298,7 @@ class MainModel(ModelMT):
# Set correct owner, mtime and filemode on directories.
for tarinfo in directories:
path = os.path.join(path, tarinfo.name)
path = os.path.join('.', tarinfo.name)
try:
os.chown(tarinfo, '.')
os.utime(tarinfo, '.')