Skip to content

Commit d923ac8

Browse files
xcp/dmv.py: Fix typos from by Copilot review
Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
1 parent 73a92ef commit d923ac8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

xcp/dmv.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ def hardware_present(lspci_out, pci_ids):
164164
"(?P<subdevice>[^"]*)" # Subdevice (07a0 or empty)
165165
$
166166
'''
167-
lscpi_pattern = re.compile(lspci_expression, re.VERBOSE | re.MULTILINE)
168-
for match in lscpi_pattern.finditer(lspci_out):
167+
lspci_pattern = re.compile(lspci_expression, re.VERBOSE | re.MULTILINE)
168+
for match in lspci_pattern.finditer(lspci_out):
169169
if pci_matches(match.groupdict(), pci_ids):
170170
return True
171171
return False

0 commit comments

Comments
 (0)