Skip to content

json_dump: Fixed output to stdout#220

Closed
vaclavbartos wants to merge 1 commit intomasterfrom
json_dump_fix
Closed

json_dump: Fixed output to stdout#220
vaclavbartos wants to merge 1 commit intomasterfrom
json_dump_fix

Conversation

@vaclavbartos
Copy link
Copy Markdown
Contributor

The last commit (ab713e0), which added the option to stream data over TCP, broke the default output to TCP (stdout.write only accepts str, not bytes). Moreover, it used an undocumented socket.SocketIO object, which is not the best idea.

This implements the TCP stream differently and reverts the changes done to the other output options, so all output types now work.

The last commit (ab713e0), which added the option to stream data over TCP, broke the default output to TCP (stdout.write only accepts str, not bytes). Moreover, it used an undocumented socket.SocketIO object, which is not the best idea.

This implements the TCP stream differently and reverts the changes done to the other output options, so all output types now work.
@vaclavbartos
Copy link
Copy Markdown
Contributor Author

The fix was incorporated into #217

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.

2 participants