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>
|
2008-01-08 Raphael Ackermann <raphael.ackermann@gmail.com>
|
||||||
* src/Editors/_EditFamily.py: import fixes
|
* src/Editors/_EditFamily.py: import fixes
|
||||||
* src/plugins/FindDupes.py: variable typo fix
|
* src/plugins/FindDupes.py: variable typo fix
|
||||||
|
@ -524,10 +524,10 @@ class ArgHandler:
|
|||||||
for tarinfo in archive:
|
for tarinfo in archive:
|
||||||
archive.extract(tarinfo,tmpdir_path)
|
archive.extract(tarinfo,tmpdir_path)
|
||||||
archive.close()
|
archive.close()
|
||||||
except ReadError, msg:
|
except tarfile.ReadError, msg:
|
||||||
print "Error reading archive:", msg
|
print "Error reading archive:", msg
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
except CompressError, msg:
|
except tarfile.CompressError, msg:
|
||||||
print "Error uncompressing archive:", msg
|
print "Error uncompressing archive:", msg
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
except:
|
except:
|
||||||
|
Loading…
Reference in New Issue
Block a user