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:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user