Re: [PATCH] devel: make printmimestructure py3 compatible

Subject: Re: [PATCH] devel: make printmimestructure py3 compatible

Date: Tue, 12 Jun 2018 10:53:57 +0200

To: notmuch@notmuchmail.org

Cc:

From: Reto Brunner


On Tue, Jun 12, 2018 at 11:35:09AM +0300, Tomi Ollila wrote:
> -#!/usr/bin/env python
> +#!/usr/bin/python
> 
> just that 'python' should be able to run both python2 and python3 code.
> 
> after the above change the code will not run on (those stupid) systems
> that install python to e.g. /usr/local/bin/.
> 
> While I am not against this change, the commit message is misleading.

Remind me again why putting stuff in /usr/local is "stupid"?

/usr/bin belongs to my package manager...

If I manually compile python for whatever reason I put it in
/usr/local/bin, as this is what the directory is for.

So why would you switch from a shebang which works always to a shebang
which only works on some very simple systems? This doesn't make sense for
me.
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: