Skip to content

Accommodate for multiple lines in readlines#126

Open
poffey21 wants to merge 2 commits into
rackerlabs:masterfrom
poffey21:master
Open

Accommodate for multiple lines in readlines#126
poffey21 wants to merge 2 commits into
rackerlabs:masterfrom
poffey21:master

Conversation

@poffey21

Copy link
Copy Markdown

The readlines() method may return multiple lines which need to be stitched together to avoid stdout attempt to parse a list object rather than an expected string. This aims to permit multiple lines.

Accommodate for readlines returning a list of lines
@DarwinJS

DarwinJS commented Dec 10, 2021

Copy link
Copy Markdown

Before Tim made this fix, I was getting a lot of errors like the below. They could be experienced on modified or unmodified files.

image

image

When I use this fixed code, these problems go away!

@DarwinJS

Copy link
Copy Markdown

@nrhodes91 and/or @popindavibe - would it be possible for someone to review this MR?

@popindavibe

Copy link
Copy Markdown
Contributor

I can't reproduce, could you @DarwinJS provide an example I could copy/paste to reproduce?

Just trying to understand what's happening, though the suggested fix works for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants