2008-01-08 Benny Malengier <benny.malengier@gramps-project.org>
* src/ArgHandler.py: bug with tarfile exceptions svn: r9753
This commit is contained in:
parent
56d33a2c4f
commit
a9619bab5f
@ -1,3 +1,6 @@
|
||||
2008-01-08 Benny Malengier <benny.malengier@gramps-project.org>
|
||||
* src/ArgHandler.py: bug with tarfile exceptions
|
||||
|
||||
2008-01-08 Raphael Ackermann <raphael.ackermann@gmail.com>
|
||||
* src/Editors/_EditFamily.py: import fixes
|
||||
* src/plugins/FindDupes.py: variable typo fix
|
||||
|
@ -524,10 +524,10 @@ class ArgHandler:
|
||||
for tarinfo in archive:
|
||||
archive.extract(tarinfo,tmpdir_path)
|
||||
archive.close()
|
||||
except ReadError, msg:
|
||||
except tarfile.ReadError, msg:
|
||||
print "Error reading archive:", msg
|
||||
sys.exit(1)
|
||||
except CompressError, msg:
|
||||
except tarfile.CompressError, msg:
|
||||
print "Error uncompressing archive:", msg
|
||||
sys.exit(1)
|
||||
except:
|
||||
|
Loading…
Reference in New Issue
Block a user