[issue7066] archive_util.make_archive doesn't restore the cwd if an error is raised

Tarek Ziadé report at bugs.python.org
Mon Oct 5 23:25:16 CEST 2009


Tarek Ziadé <ziade.tarek at gmail.com> added the comment:

I see two distinct points (besides test_make_archive_owner_group):

1- having a try..finally when changing the current working dir (I'll do
this thanks for the patch)

2- dealing with calls made on archive_util.make_archive() when zlib is
not available. What error do you get ? CompressionError I guess ?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7066>
_______________________________________


More information about the Python-bugs-list mailing list