Browse Source

support/scripts/brpkutil.py: wrap at 80 columns

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@free.fr>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
[Arnout: give commit message a more positive tone]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Yann E. MORIN 6 years ago
parent
commit
63cb953d14
1 changed files with 2 additions and 1 deletions
  1. 2 1
      support/scripts/brpkgutil.py

+ 2 - 1
support/scripts/brpkgutil.py

@@ -31,7 +31,8 @@ def get_dependency_tree():
 
 
     cmd = ["make", "-s", "--no-print-directory", "show-dependency-tree"]
     cmd = ["make", "-s", "--no-print-directory", "show-dependency-tree"]
     with open(os.devnull, 'wb') as devnull:
     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]
         output = p.communicate()[0]
 
 
     for l in output.splitlines():
     for l in output.splitlines():