[Python-projects] sys.path cleanup in modutils

Sylvain Thénault Sylvain.Thenault at logilab.fr
Wed Nov 17 09:58:38 CET 2004

On Wednesday 17 November à 11:04, ashley walsh wrote:
> Hi,


> There's a bug in modutils.get_module_part() in common-0.7.1, so that
> it doesn't clean up sys.path except if an import fails because of an
> ImportError.  I patched it with a try/finally:

patch applied in the CVS. Thanks !

Sylvain Thénault                               LOGILAB, Paris (France).

http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org

More information about the Python-Projects mailing list