[PATCH 1/1] Change the interpreter directive in test scrips

Roger zanoni roger.zanoni at openbossa.org
Thu Feb 20 16:53:14 EST 2014


Yes, that's the case, but I did this to be able to change from python 3 (in
my distribution /usr/bin/python points to python 3) to python2 using
virtualenv. It won't change behavior, if you're already using python2. For
the distros where python 3 is the default, virtualenv(or other utility)
will set the proper python interpreter to use.


2014-02-20 17:34 GMT-04:00 Jouni Malinen <j at w1.fi>:

> On Thu, Feb 20, 2014 at 05:08:45PM -0400, Roger Zanoni wrote:
> > This makes scripts check the environment for the current python
> > interpreter in use instead of assuming that the python executable points
> > to a python 2 interpreter.
>
> I could understand using env to find the python installation location,
> but that commit message seems to imply that this would be for being able
> to change python version.. Is that really the case and is so, have you
> tested these with various versions? I've really only used Python 2.7 in
> all testing so far..
>
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20140220/082e8c73/attachment-0001.htm>


More information about the HostAP mailing list