Fix typo error in sysinv

The return value of query_pci_id is 0 or 1. Not '1'

Story: 2003678
Task: 26200

Change-Id: Ibea897a0d27a57e519dd0ed14a6aa53e9ffd5c3c
Signed-off-by: slin14 <shuicheng.lin@intel.com>
This commit is contained in:
slin14 2018-09-07 00:02:16 +08:00
parent 0426081c88
commit 348d20d676
1 changed files with 1 additions and 1 deletions

View File

@ -474,7 +474,7 @@ class PCIOperator(object):
vendor, device)
except subprocess.CalledProcessError as e:
dpdksupport = False
if e.returncode == '1':
if e.returncode == 1:
# NIC is not supprted
LOG.debug("DPDK does not support NIC "
"(vendor: %s device: %s)",