[Buildroot] [RFC PATCH] scripts/get-developers: correct type of patches argument

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Oct 25 10:45:16 UTC 2016


Hello,

On Thu, 22 Sep 2016 00:29:14 +0530, Rahul Bedarkar wrote:
> 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 at free-electrons.com>
> Signed-off-by: Rahul Bedarkar <rahul.bedarkar at imgtec.com>
> ---
>  support/scripts/get-developers     |  4 ++--
>  support/scripts/getdeveloperlib.py | 25 ++++++++++++-------------
>  2 files changed, 14 insertions(+), 15 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list