From 516c98703801883202ddafc283fd072998e04c02 Mon Sep 17 00:00:00 2001 From: Axel Gembe Date: Thu, 9 Nov 2023 20:05:33 +0700 Subject: [PATCH] parsedump: Make checkstyle happy by splitting the long Lines Uses a string join instead to build the command string. Signed-off-by: Axel Gembe --- contrib/windows/parsedump/parsedump.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/contrib/windows/parsedump/parsedump.py b/contrib/windows/parsedump/parsedump.py index 8530ac3aa5b0..91a5f437191e 100644 --- a/contrib/windows/parsedump/parsedump.py +++ b/contrib/windows/parsedump/parsedump.py @@ -99,7 +99,23 @@ def run(arg): stack = run("k ; q") -info = run(".lines -e;.kframes 100;.echo ***** process info *****;|;!peb;!analyze -vp;.ecxr;kp;!uniqstack -vp;!gle -all;q") +info = run( + ";".join( + [ + ".lines -e", + ".kframes 100", + ".echo ***** process info *****", + "|", + "!peb", + "!analyze -vp", + ".ecxr", + "kp", + "!uniqstack -vp", + "!gle -all", + "q", + ] + ) +) cbuf = run(".writemem C:\\cbuf.txt poi(OpenZFS!cbuf) L100000 ; q")