Skip to content

Changed the print() in API to log instead.#8

Merged
roks0n merged 2 commits intoArkEcosystem:developfrom
dunnen:print-to-log
Jun 17, 2018
Merged

Changed the print() in API to log instead.#8
roks0n merged 2 commits intoArkEcosystem:developfrom
dunnen:print-to-log

Conversation

@dunnen
Copy link
Copy Markdown

@dunnen dunnen commented Jun 16, 2018

I updated the print function in the API sendRequest() to log as an error instead. I don't think it's a good idea for an API to print anything to stdout. That should be left to the application using the API.

@dunnen
Copy link
Copy Markdown
Author

dunnen commented Jun 16, 2018

The flake8 that ran in CI picked up an import order error that I had to fix and commit. My local flake8 did not complain. Does anyone know why this would happen?

@mihazelnik
Copy link
Copy Markdown

did you install all flake8 libs? https://github.com/ArkEcosystem/python-client/blob/develop/setup.py#L7

@dunnen
Copy link
Copy Markdown
Author

dunnen commented Jun 17, 2018

Ah, I didn't know it was a different module. Thanks @mihazelnik

@roks0n roks0n merged commit 4034c69 into ArkEcosystem:develop Jun 17, 2018
@dunnen dunnen deleted the print-to-log branch June 18, 2018 00:31
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