mirror of
https://github.com/gryf/pygtktalog.git
synced 2025-12-17 19:40:21 +01:00
* Another bugfix in extract tar archive for Python 2.4. Damn.
This commit is contained in:
@@ -303,11 +303,10 @@ class MainModel(ModelMT):
|
|||||||
os.chown(tarinfo, '.')
|
os.chown(tarinfo, '.')
|
||||||
os.utime(tarinfo, '.')
|
os.utime(tarinfo, '.')
|
||||||
os.chmod(tarinfo, '.')
|
os.chmod(tarinfo, '.')
|
||||||
except ExtractError, e:
|
except:
|
||||||
if tar.errorlevel > 1:
|
if __debug__:
|
||||||
raise
|
print "m_main.py: open(): setting corrext owner, mtime etc"
|
||||||
else:
|
pass
|
||||||
tar._dbg(1, "tarfile: %s" % e)
|
|
||||||
tar.close()
|
tar.close()
|
||||||
|
|
||||||
self.__connect_to_db()
|
self.__connect_to_db()
|
||||||
|
|||||||
Reference in New Issue
Block a user