Skip to content

Commit 8d6bb6c

Browse files
committed
Updated exmples of physical slot formats and added signature to commit
1 parent 12b4e28 commit 8d6bb6c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

avocado/utils/pci.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,8 @@ def get_slot_from_sysfs(full_pci_address):
191191
192192
:return: Removed port related details using re, only returns till
193193
physical slot of the adapter
194-
Examples: U78CD.001.FZHAK92-P2-C3, U50EE.001.WZS0011-P3-C20-R1.
194+
Examples: U78CD.001.FZHAK92-P2-C3
195+
U50EE.001.WZS0011-P3-C20-R1
195196
"""
196197
if not os.path.isfile(f"/sys/bus/pci/devices/{full_pci_address}/devspec"):
197198
return None

0 commit comments

Comments
 (0)