Quiet regex SyntaxWarning in mlock_report

Use a raw string to avoid SyntaxWarnings being
issued by this script.

Change-Id: I81557158013aa36fe27235c461486dfbc37c9f27
This commit is contained in:
Eric Harney
2025-01-10 11:02:35 -05:00
parent eef78a9be1
commit 7129f3a45e

View File

@@ -6,7 +6,7 @@ import psutil
LCK_SUMMARY_REGEX = re.compile(
"^VmLck:\s+(?P<locked>[\d]+)\s+kB", re.MULTILINE)
r"^VmLck:\s+(?P<locked>[\d]+)\s+kB", re.MULTILINE)
def main():