[Lldb-commits] [PATCH] D57275: [seven] Remove trailing characters from command output.

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 28 10:07:32 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rLLDB352397: [testsuite] Remove trailing characters from command output. (authored by JDevlieghere, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D57275?vs=183877&id=183900#toc

Repository:
  rLLDB LLDB

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57275/new/

https://reviews.llvm.org/D57275

Files:
  packages/Python/lldbsuite/support/seven.py


Index: packages/Python/lldbsuite/support/seven.py
===================================================================
--- packages/Python/lldbsuite/support/seven.py
+++ packages/Python/lldbsuite/support/seven.py
@@ -15,7 +15,7 @@
                 subprocess.check_output(
                     command,
                     shell=True,
-                    universal_newlines=True))
+                    universal_newlines=True).rstrip())
         except subprocess.CalledProcessError as e:
             return (e.returncode, e.output)
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57275.183900.patch
Type: text/x-patch
Size: 537 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190128/517ce978/attachment.bin>


More information about the lldb-commits mailing list