[Buildroot] [PATCH] support/brpkutil: fix flake8 error

Arnout Vandecappelle arnout at mind.be
Sat Apr 13 14:02:14 UTC 2019



On 12/04/2019 21:35, Yann E. MORIN wrote:
> When locally checking with flake8, we now detect errors that are not
> reported in gitlab-ci pipelines.

 I gave the commit message a more positive spin :-P and applied to master, thanks.

 Regards,
 Arnout

> 
> Fix one such an error now.
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> Cc: Ricardo Martincoski <ricardo.martincoski at gmail.com>
> Cc: Arnout Vandecappelle <arnout at mind.be>
> ---
>  support/scripts/brpkgutil.py | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/support/scripts/brpkgutil.py b/support/scripts/brpkgutil.py
> index 9ceda71b7f..f65068d348 100644
> --- a/support/scripts/brpkgutil.py
> +++ b/support/scripts/brpkgutil.py
> @@ -31,7 +31,8 @@ def get_dependency_tree():
>  
>      cmd = ["make", "-s", "--no-print-directory", "show-dependency-tree"]
>      with open(os.devnull, 'wb') as devnull:
> -        p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=devnull, universal_newlines=True)
> +        p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=devnull,
> +                             universal_newlines=True)
>          output = p.communicate()[0]
>  
>      for l in output.splitlines():
> 


More information about the buildroot mailing list