diff options
author | Martin Klozik <martinx.klozik@intel.com> | 2017-07-03 06:18:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-07-03 06:18:31 +0000 |
commit | 05bb3ac689e081218c8f885a8f720e006fdb1634 (patch) | |
tree | 3f20b6a241a86562ea3ea085dc7ff0aed26d9c4e /tools/systeminfo.py | |
parent | 16f7eb21ac16ea0f1ba82516a8d4b75c4ede1519 (diff) | |
parent | 67bed0c2b94bf7431adc44a6218b175ad6dc333a (diff) |
Merge "ovs: Update OVS to use DPDK 17.02"
Diffstat (limited to 'tools/systeminfo.py')
-rw-r--r-- | tools/systeminfo.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/systeminfo.py b/tools/systeminfo.py index 20ba7ba7..75b7aa0d 100644 --- a/tools/systeminfo.py +++ b/tools/systeminfo.py @@ -185,7 +185,8 @@ def get_bin_version(binary, regex): :returns: version string or None """ try: - output = subprocess.check_output(binary, shell=True).decode().rstrip('\n') + output = str(subprocess.check_output( + binary, stderr=subprocess.STDOUT, shell=True).decode().rstrip('\n')) except subprocess.CalledProcessError: return None |