mirror of
https://github.com/gryf/pygtktalog.git
synced 2026-11-26 12:26:54 +01: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
|
# Extract directory with a safe mode, so that
|
||||||
# all files below can be extracted as well.
|
# all files below can be extracted as well.
|
||||||
try:
|
try:
|
||||||
os.makedirs(os.path.join(path, tarinfo.name), 0777)
|
os.makedirs(os.path.join('.', tarinfo.name), 0777)
|
||||||
except EnvironmentError:
|
except EnvironmentError:
|
||||||
pass
|
pass
|
||||||
directories.append(tarinfo)
|
directories.append(tarinfo)
|
||||||
|
|||||||
Reference in new issue
Block a user