mirror of
https://github.com/gryf/pygtktalog.git
synced 2026-10-09 07:12:29 +02:00
* Bugfix in extract tar archive for Python 2.4.
This commit is contained in:
1 parent
81d37ba053
commit
db599beae3
1 file changed
+1
-1
@@ -285,7 +285,7 @@ class MainModel(ModelMT):
|
||||
# Extract directory with a safe mode, so that
|
||||
# all files below can be extracted as well.
|
||||
try:
|
||||
os.makedirs(os.path.join(path, tarinfo.name), 0777)
|
||||
os.makedirs(os.path.join('.', tarinfo.name), 0777)
|
||||
except EnvironmentError:
|
||||
pass
|
||||
directories.append(tarinfo)
|
||||
|
||||
Reference in new issue
Block a user