Merge "Ignore stderr from pkg-map"
This commit is contained in:
commit
c597e99f4e
1 changed files with 2 additions and 2 deletions
|
@ -55,14 +55,14 @@ def main():
|
|||
|
||||
try:
|
||||
map_output = subprocess.check_output(
|
||||
pkg_map_args, stderr=subprocess.STDOUT)
|
||||
pkg_map_args)
|
||||
except subprocess.CalledProcessError as e:
|
||||
if e.returncode == 1:
|
||||
if args.noop:
|
||||
pkgs.append(pkg)
|
||||
continue
|
||||
else:
|
||||
print("pkg-map failed with error %s" % e.output)
|
||||
print("pkg-map failed")
|
||||
sys.exit(1)
|
||||
elif e.returncode == 2:
|
||||
pkgs.append(pkg)
|
||||
|
|
Loading…
Reference in a new issue