[Python-projects] bug: pylint: .bat files parameter handling on windows

Sylvain Thénault sylvain.thenault at logilab.fr
Mon Nov 24 19:46:27 CET 2008


On Thu, Nov 20, 2008 at 05:37:59PM +0100, Kun-Szabó Gyula wrote:
> Hello,

hello,

> I have noticed that the .bat files use self-passing to python with this line:
>  
>     python -x %~f0 %*
>  
> This call fails if the installation path contains spaces.
> 
> The form 
>     python -x "%~f0" %*
> or
>     python -x %~fs0 %*
>  
> should be used instead.

this should have been fixed in latest pylint release.
-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
Python et calcul scientifique:           http://www.logilab.fr/science



More information about the Python-Projects mailing list