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:
@@ -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, '.')
|
||||
|
||||
Reference in New Issue
Block a user