Bug#234876: gdesklets may not use the expected python interpreter

Josselin Mouette 234876@bugs.debian.org, 234876@bugs.debian.org
Thu, 26 Feb 2004 13:15:33 +0100


--=-G/rP9i7tuQYksEZMvMfv
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

Le jeu 26/02/2004 =E0 11:53, Sylvain Thenault a =E9crit :
> Package: gdesklets
> Version: 0.25.1-1
> Severity: normal
>=20
> /usr/bin/gdesklets use "#!/usr/bin/env python" instead of
> "#!/usr/bin/pythonX.Y" where X.Y is the default python version.

The python policy recommends #!/usr/bin/python in this case, and surely
not hardcoding pythonX.Y if it is possible to avoid it.

You are right on the other point: #!/usr/bin/env python is fragile, and
often fails when there is a locally installed python version. It should
be changed to #!/usr/bin/python.

Regards,
--=20
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
  `-  Debian GNU/Linux -- The power of freedom

--=-G/rP9i7tuQYksEZMvMfv
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBAPeNkrSla4ddfhTMRAvFnAJwIk+p8qHy5+M+j/ybDNCsyMKs+ugCfZmOO
JlerDU+T3KHowFh5tZlW6Qc=
=bwW/
-----END PGP SIGNATURE-----

--=-G/rP9i7tuQYksEZMvMfv--