Pārlūkot izejas kodu

utils/get-developers: fix python 3.x compatibility

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@buildroot.org

Signed-off-by: Grégoire Delattre <gregoire.delattre@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 8320ad3341b9242eaf82df7a4d4c1a367991ec3d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Grégoire Delattre 6 gadi atpakaļ
vecāks
revīzija
de8e95f0b2
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      utils/get-developers

+ 1 - 1
utils/get-developers

@@ -94,7 +94,7 @@ def __main__():
 
 
         if args.email:
         if args.email:
             for dev in matching_devs:
             for dev in matching_devs:
-                print dev
+                print(dev)
         else:
         else:
             result = "--to buildroot@buildroot.org"
             result = "--to buildroot@buildroot.org"
             for dev in matching_devs:
             for dev in matching_devs: