Skip to content

Commit

Permalink
ON-16043: Fix sfcaffinity.py to remove escape character warning
Browse files Browse the repository at this point in the history
(cherry picked from commit e7c591b)
  • Loading branch information
krishd-amd authored and ivatet-amd committed Oct 4, 2024
1 parent ad6c145 commit 7e2618a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/sfcaffinity.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def irq_get_pid(irq):
pid = try_get_pid('^IRQ-%d$' % int(irq))
if pid > 0:
return pid
pid = try_get_pid('^\[IRQ-%d\]$' % int(irq))
pid = try_get_pid(r'^\[IRQ-%d\]$' % int(irq))
if pid > 0:
return pid
pid = try_get_pid('^irq/%d-' % int(irq))
Expand Down

0 comments on commit 7e2618a

Please sign in to comment.