diff mbox

get-developers: fix parentheses for print

Message ID 20161105041000.22455-1-gael.portay@savoirfairelinux.com
State Accepted
Headers show

Commit Message

Gaël PORTAY Nov. 5, 2016, 4:10 a.m. UTC
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(-)

Comments

Thomas Petazzoni Nov. 5, 2016, 10:51 a.m. UTC | #1
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
Gaël PORTAY Nov. 5, 2016, 1:55 p.m. UTC | #2
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
diff mbox

Patch

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: