All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] tools: binman: change shebang from python into python2
@ 2017-03-06 20:07 Jörg Krause
  2017-03-12  3:30 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Jörg Krause @ 2017-03-06 20:07 UTC (permalink / raw)
  To: u-boot

This tool does not work with Python 3. Change the shebang to make sure the
script is run by a Python 2 interpreter.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
---
 tools/binman/binman.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/binman/binman.py b/tools/binman/binman.py
index e1cb2fbb6f..857d698b4c 100755
--- a/tools/binman/binman.py
+++ b/tools/binman/binman.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # Copyright (c) 2016 Google, Inc
 # Written by Simon Glass <sjg@chromium.org>
-- 
2.12.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] tools: binman: change shebang from python into python2
  2017-03-06 20:07 [U-Boot] [PATCH] tools: binman: change shebang from python into python2 Jörg Krause
@ 2017-03-12  3:30 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2017-03-12  3:30 UTC (permalink / raw)
  To: u-boot

On Mon, Mar 06, 2017 at 09:07:11PM +0100, Jörg Krause wrote:

> This tool does not work with Python 3. Change the shebang to make sure the
> script is run by a Python 2 interpreter.
> 
> Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170311/a2542a32/attachment.sig>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-12  3:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-06 20:07 [U-Boot] [PATCH] tools: binman: change shebang from python into python2 Jörg Krause
2017-03-12  3:30 ` [U-Boot] " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.