1
0
mirror of https://github.com/gryf/pygtktalog.git synced 2025-12-17 11:30:19 +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.utime(tarinfo, '.')
os.chmod(tarinfo, '.')
except ExtractError, e:
if tar.errorlevel > 1:
raise
else:
tar._dbg(1, "tarfile: %s" % e)
except:
if __debug__:
print "m_main.py: open(): setting corrext owner, mtime etc"
pass
tar.close()
self.__connect_to_db()