未验证 提交 eff7017c 编写于 作者: L Lukáš Doktor

Merging pull request 1771

Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>

* https://github.com/avocado-framework/avocado:
  adding a line to pci.py to skip System peripheral device in output
......@@ -53,7 +53,7 @@ def get_pci_addresses():
addresses = []
cmd = "lspci -D"
for line in process.system_output(cmd).splitlines():
if "PCI bridge" not in line:
if "PCI bridge" not in line and "System peripheral" not in line:
addresses.append(line.split()[0])
if addresses:
return addresses
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册