-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
root@sepik:~# python3 /hpc/local/bin/lshca
/hpc/local/bin/lshca:876: SyntaxWarning: invalid escape sequence '\['
self.description = self.get_info_from_lspci_data("^[0-9].*", str(self._bdf) + "[^:]+: (.+?)(?= \[[a-f0-9]{4}:[a-f0-9]{4}\]|$)")
/hpc/local/bin/lshca:877: SyntaxWarning: invalid escape sequence '\['
self.sn = self.get_info_from_lspci_data("\[SN\].*", ".*:(.+)")
/hpc/local/bin/lshca:878: SyntaxWarning: invalid escape sequence '\['
self._pn = self.get_info_from_lspci_data("\[PN\].*", ".*:(.+)")
/hpc/local/bin/lshca:879: SyntaxWarning: invalid escape sequence '\['
self.revision = self.get_info_from_lspci_data("\[EC\].*", ".*:(.+)")
/hpc/local/bin/lshca:886: SyntaxWarning: invalid escape sequence '\['
self.pci_device_id = self.get_info_from_lspci_data("^[0-9].*", str(self._bdf) + ".*\[([a-f0-9]{4}:[a-f0-9]{4})\]")
Metadata
Metadata
Assignees
Labels
No labels