Răsfoiți Sursa

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 ani în urmă
părinte
comite
63cb953d14
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  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"]
     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():