浏览代码

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 年之前
父节点
当前提交
de8e95f0b2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      utils/get-developers

+ 1 - 1
utils/get-developers

@@ -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: