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

Fix CLI dump not working in py3 #229

Merged
merged 1 commit into from
Mar 23, 2017
Merged

Fix CLI dump not working in py3 #229

merged 1 commit into from
Mar 23, 2017

Conversation

simonalger
Copy link
Contributor

dump() was not working in py3 because file object cannot write() a bytes object. Fix: decode bytes object to string before write()ing

dump function was not working in py3 because file object cannot write() a bytes object. Fix: decode bytes object to string before write()ing
@hendrikmuhs
Copy link
Contributor

@simonalger Thanks!

We should have some tests for this, I opened #230.

@hendrikmuhs hendrikmuhs merged commit 0e1e3a2 into cliqz-oss:master Mar 23, 2017
@coveralls
Copy link

Coverage Status

Coverage remained the same at 88.215% when pulling 63f672c on simonalger:master into fd97ae5 on cliqz-oss:master.

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