git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Makefile: Remove usage of deprecated Python "has_key" method

From
Johan Herland <johan@herland.net>
Date
Mar 29, 2010, 02:16 UTC
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:
Show 9 quoted lines
> "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 <davvid@gmail.com>
Acked-by: Johan Herland <johan@herland.net>
-- 
Johan Herland, <johan@herland.net>
www.herland.net
Previous: Junio C Hamano
Message 6 of 6 in “Makefile: Remove usage of deprecated Python "has_key" method”
  1. Makefile: Remove usage of deprecated Python "has_key" methodDavid Aguilar, Mar 28, 2010
  2. Junio C HamanoMar 28, 2010
  3. David AguilarMar 28, 2010
  4. Tay Ray ChuanMar 29, 2010
  5. Junio C HamanoMar 29, 2010
  6. Johan HerlandMar 29, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.