Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide a printb parameter to suppress printing a new line at the end #1930

Merged
merged 1 commit into from
Aug 15, 2018

Conversation

ncultra
Copy link
Contributor

@ncultra ncultra commented Aug 15, 2018

This is to support printing output by one of the tools as a json object (not part of this PR).

Provide an optional parameter, nl=1, that controls the printing of the final new line. To suppress the new line, call as in:
printb(b, nl=0)

calling as in:
printb(b)

will preserve the final new line

@yonghong-song
Copy link
Collaborator

[buildbot, ok to test]

@yonghong-song
Copy link
Collaborator

looks okay to me. Thanks!

@yonghong-song yonghong-song merged commit 49d475f into iovisor:master Aug 15, 2018
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.

None yet

2 participants