utils/get-developers: fix python 3.x compatibility
authorGrégoire Delattre <gregoire.delattre@gmail.com>
Thu, 11 Oct 2018 23:00:50 +0000 (01:00 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 12 Oct 2018 07:05:50 +0000 (09:05 +0200)
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>
utils/get-developers

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