From 70c0714a3bca0f44b2cf12269c588548a898afec Mon Sep 17 00:00:00 2001 From: sunchenguang Date: Thu, 10 Mar 2022 11:09:22 +0800 Subject: [PATCH] modified xdevice Signed-off-by: sunchenguang --- src/xdevice/_core/driver/parser_lite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdevice/_core/driver/parser_lite.py b/src/xdevice/_core/driver/parser_lite.py index 566b7dd..6a63270 100644 --- a/src/xdevice/_core/driver/parser_lite.py +++ b/src/xdevice/_core/driver/parser_lite.py @@ -1094,7 +1094,7 @@ class ShellHandler: self.unfinished_line = lines[-1] # not return the tail element of this list contains unfinished str, # so we set position -1 - return lines[:-1] + return lines def __read__(self, output): lines = self._process_output(output) -- GitLab