From: Arnout Vandecappelle Date: Mon, 23 Jun 2014 20:11:24 +0000 (+0200) Subject: graph-depends: remove unnecessary redirect of stderr X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cfb6bf5ee91183291c91e960c9f57e846fdcd231;p=buildroot.git graph-depends: remove unnecessary redirect of stderr It hides any error messages reported by make. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Reviewed-by: "Yann E. MORIN" Acked-by: Samuel Martin Tested-by: Samuel Martin Signed-off-by: Thomas Petazzoni --- diff --git a/support/scripts/graph-depends b/support/scripts/graph-depends index 52c16ceae3..1ecfedac7a 100755 --- a/support/scripts/graph-depends +++ b/support/scripts/graph-depends @@ -82,7 +82,7 @@ allpkgs = [] def get_targets(): sys.stderr.write("Getting targets\n") cmd = ["make", "-s", "--no-print-directory", "show-targets"] - p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True) + p = subprocess.Popen(cmd, stdout=subprocess.PIPE, universal_newlines=True) output = p.communicate()[0].strip() if p.returncode != 0: return None @@ -98,7 +98,7 @@ def get_depends(pkgs): cmd = ["make", "-s", "--no-print-directory" ] for pkg in pkgs: cmd.append("%s-show-depends" % pkg) - p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True) + p = subprocess.Popen(cmd, stdout=subprocess.PIPE, universal_newlines=True) output = p.communicate()[0] if p.returncode != 0: sys.stderr.write("Error getting dependencies %s\n" % pkgs)