Added check for return code when checking for bzr.

Review Request #11196 — Created Sept. 21, 2020 and submitted — Latest diff uploaded

Information

RBTools
master

Reviewers

When pyenv is in use and the needed executable is only available in a
different Python version, pyenv intercepts the call and will print
an error/return 127.

When running bzr help under these conditions, we see this:
pyenv: bzr: command not found

The `bzr' command exists in these Python versions:
2.7.14

Tested 'rbt post' manually in my local integrations repo with the changes.

Changes between revision 2 and 3

orig
1
2
3
4
5
6
7
8

Commits

Summary ID Author
added check for return code when running bzr help
4096df7da070fd70303057ad7be8b4eb392a2f73 ruonan
added check for return code when running bzr help
b052f5ce078d8de7b363d79065c15c05b31a5f4c ruonan
rbtools/utils/checks.py
Loading...