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:05:02 +00:00
parent 81d37ba053
commit db599beae3

View File

@@ -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)