From: Johan Herland Date: Mon, 29 Mar 2010 02:16:40 GMT Subject: Re: [PATCH] Makefile: Remove usage of deprecated Python "has_key" method Message-ID: <201003290416.40774.johan@herland.net> In-Reply-To: <1269737112-21631-1-git-send-email-davvid@gmail.com> On Sunday 28 March 2010, David Aguilar wrote: > "has_key" is a deprecated dictionary method in Python 2.6+. > Simplify the sys.path manipulation for installed scripts by > passing a default value to os.getenv(). > > SCRIPT_PYTHON is currently empty but this future-proofs us. > It also fixes things for users who maintain local git forks > with their own SCRIPT_PYTHON additions. > > Signed-off-by: David Aguilar Acked-by: Johan Herland -- Johan Herland, www.herland.net