Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] get-developers: fix parentheses for print
@ 2016-11-05  4:10 Gaël PORTAY
  2016-11-05 10:51 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Gaël PORTAY @ 2016-11-05  4:10 UTC (permalink / raw)
  To: buildroot

Python3 complains about missing parentheses.

$ ./support/scripts/get-developers
  File "./support/scripts/get-developers", line 45
    print f
          ^
SyntaxError: Missing parentheses in call to 'print'

Signed-off-by: Ga?l PORTAY <gael.portay@savoirfairelinux.com>
---
 support/scripts/get-developers | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/support/scripts/get-developers b/support/scripts/get-developers
index 83f1e5b..40ed08f 100755
--- a/support/scripts/get-developers
+++ b/support/scripts/get-developers
@@ -42,7 +42,7 @@ def __main__():
     if args.check:
         files = getdeveloperlib.check_developers(devs)
         for f in files:
-            print f
+            print(f)
 
     # Handle the architecture action
     if args.architecture is not None:
-- 
2.10.1

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

* [Buildroot] [PATCH] get-developers: fix parentheses for print
  2016-11-05  4:10 [Buildroot] [PATCH] get-developers: fix parentheses for print Gaël PORTAY
@ 2016-11-05 10:51 ` Thomas Petazzoni
  2016-11-05 13:55   ` Gaël PORTAY
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2016-11-05 10:51 UTC (permalink / raw)
  To: buildroot

Hello,

On Sat,  5 Nov 2016 00:10:00 -0400, Ga?l PORTAY wrote:
> Python3 complains about missing parentheses.
> 
> $ ./support/scripts/get-developers
>   File "./support/scripts/get-developers", line 45
>     print f
>           ^
> SyntaxError: Missing parentheses in call to 'print'
> 
> Signed-off-by: Ga?l PORTAY <gael.portay@savoirfairelinux.com>
> ---
>  support/scripts/get-developers | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH] get-developers: fix parentheses for print
  2016-11-05 10:51 ` Thomas Petazzoni
@ 2016-11-05 13:55   ` Gaël PORTAY
  0 siblings, 0 replies; 3+ messages in thread
From: Gaël PORTAY @ 2016-11-05 13:55 UTC (permalink / raw)
  To: buildroot

Thomas,

On Sat, Nov 05, 2016 at 11:51:44AM +0100, Thomas Petazzoni wrote:
> Hello,
> 
> On Sat,  5 Nov 2016 00:10:00 -0400, Ga?l PORTAY wrote:
> > Python3 complains about missing parentheses.
> > 
> > $ ./support/scripts/get-developers
> >   File "./support/scripts/get-developers", line 45
> >     print f
> >           ^
> > SyntaxError: Missing parentheses in call to 'print'
> > 
> > Signed-off-by: Ga?l PORTAY <gael.portay@savoirfairelinux.com>
> > ---
> >  support/scripts/get-developers | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Applied to master, thanks.
> 

Thanks!

Ga?l

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

end of thread, other threads:[~2016-11-05 13:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-05  4:10 [Buildroot] [PATCH] get-developers: fix parentheses for print Gaël PORTAY
2016-11-05 10:51 ` Thomas Petazzoni
2016-11-05 13:55   ` Gaël PORTAY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox