mirror of
https://github.com/gryf/pygtktalog.git
synced 2025-12-17 11:30:19 +01:00
* Bugfix in extract tar archive for Python 2.4.
This commit is contained in:
@@ -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