Skip to contentSkip to conversation

get-developers: fix parentheses for print

PATCH New Gaël PORTAY 2 participants 3 messages Nov 5, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 get-developers: fix parentheses for print

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'
---
 support/scripts/get-developers | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
support/scripts/get-developers +1 -1
index 83f1e5b..40ed08f 100755
@@ -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:
Signature · 1 line
2.10.1
#1 lore raw

PATCH 1/1 get-developers: fix parentheses for print

Hello,

Quoted 8 lines · Ga?l PORTAY

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'
Quoted 4 lines
---
 support/scripts/get-developers | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 get-developers: fix parentheses for print

Thomas,

Quoted 11 lines · Thomas Petazzoni

Hello,

Quoted 8 lines · Ga?l PORTAY

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'
Quoted 7 lines
Quoted 4 lines
---
 support/scripts/get-developers | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thanks!

Ga?l