Commit 3b4ec35e authored by Anton Kudinov's avatar Anton Kudinov
Browse files

fixed luna crash with --verbose flag

parent e1a42724
......@@ -655,8 +655,8 @@ def main():
else:
p=subprocess.Popen(cmd, stderr=subprocess.PIPE, stdout=subprocess.PIPE)
out, err=p.communicate()
out=out.decode('utf-8')
err=err.decode('utf-8')
out=out.decode('utf-8') if out is not None else ''
err=err.decode('utf-8') if err is not None else ''
if p.returncode!=0:
err=translate_so_build_err(err)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment