• Vincent Wan's avatar
    make binary_version() in utils.py more generic · d22ef878
    Vincent Wan authored
    Making binary_version() more generic by routing stderr output of
    subprocess to stdout, in case the invoked binary prints there. Also
    adding an extra optional argument to accept a matching pattern. When
    a pattern is provided, the function can use it to extract the version
    number using re.search().
    Signed-off-by: default avatarVincent Wan <vincent.wan@linaro.org>
    d22ef878
Name
Last commit
Last update
.gitlab-ci Loading commit data...
debian Loading commit data...
doc/v2 Loading commit data...
etc Loading commit data...
lava Loading commit data...
lava_common Loading commit data...
lava_dispatcher Loading commit data...
lava_rest_app Loading commit data...
lava_results_app Loading commit data...
lava_scheduler_app Loading commit data...
lava_server Loading commit data...
linaro_django_xmlrpc Loading commit data...
man Loading commit data...
share Loading commit data...
.coveragerc Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.testr.conf Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
COPYING.AGPL-3 Loading commit data...
MANIFEST.in Loading commit data...
README.md Loading commit data...
ci-run Loading commit data...
requirements.txt Loading commit data...
setup.py Loading commit data...
version.py Loading commit data...