[Buildroot] [git commit] support/scripts/brpkutil.py: wrap at 80 columns

Arnout Vandecappelle (Essensium/Mind) arnout at mind.be
Sat Apr 13 13:59:47 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=63cb953d145dfbcdcdeb551236525502a083d89d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Previously, the flake8 script didn't help us to detect when Python
scripts were incorrectly wrapped. Now, however, it does report such
errors.

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>
[Arnout: give commit message a more positive tone]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <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