utils/get-developers: fix syntax error
PATCH 1/1 utils/get-developers: fix syntax error
From: Gr?goire Delattre <[email protected]>
This fixes a syntax error introduced in bcf2ed5cc3.
Output before the patch:
$ ./utils/get-developers outgoing/*
File "./utils/get-developers", line 97
print dev
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean
print(dev)?Output after the patch:
$ ./utils/get-developers outgoing/*
git send-email --to buildroot at buildroot.orgSigned-off-by Gr?goire Delattre <[email protected]>
--- utils/get-developers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
utils/get-developers +1 -1
@@ -94,7 +94,7 @@ def __main__(): if args.email: for dev in matching_devs: - print dev + print(dev) else: result = "--to buildroot at buildroot.org" for dev in matching_devs:
Signature · 1 line
2.19.1
PATCH 1/1 utils/get-developers: fix syntax error
Quoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gr?goire" == Gr?goire Delattre <[email protected]> writes:
From: Gr?goire Delattre <[email protected]> This fixes a syntax error introduced in
bcf2ed5cc3.Output before the patch:
$ ./utils/get-developers outgoing/* File "./utils/get-developers", line 97 print dev ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(dev)?
Quoted 3 lines
Output after the patch:
$ ./utils/get-developers outgoing/* git send-email --to buildroot at buildroot.org
Ahh, indeed - We need print(foo) instead of print foo for python 3.x compatibility.
Committed with the commit message extended to explain that this is for python 3.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard