scripts/get-developers: correct type of patches argument
authorRahul Bedarkar <rahul.bedarkar@imgtec.com>
Wed, 21 Sep 2016 18:59:14 +0000 (00:29 +0530)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 25 Oct 2016 10:43:27 +0000 (12:43 +0200)
commit1b0df8f23c690d9464d82f4d3e57fe2a334b5d98
tree16329f7549de4c949abdb7d9055a80c0794d4f0d
parent8513ffee43f473e8134fa48755837722926123b0
scripts/get-developers: correct type of patches argument

Current type for 'patches' argument is str. It supposed to only
contain names of files.

If we specify FileType as type, then we don't need to open file ourself
and it allows script to read patch from standard input as well.

e.g.
$ git show -1 | ./support/scripts/get-developers -

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/scripts/get-developers
support/scripts/getdeveloperlib.py