1
0
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:
2008-04-14 19:15:42 +00:00
parent 4a5b1d433f
commit 6dac5f887c

View File

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