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

Yann E. MORIN yann.morin.1998 at free.fr
Fri Apr 12 19:35:00 UTC 2019


When locally checking with flake8, we now detect errors that are not
reported in gitlab-ci pipelines.

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():
-- 
2.14.1



More information about the buildroot mailing list