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

Handle encoding when opening file for both py2/py3 #51124

Merged
merged 1 commit into from
Jan 9, 2019

Conversation

Ch3LL
Copy link
Contributor

@Ch3LL Ch3LL commented Jan 9, 2019

This handles opening the README file for both py2 and py3. When using python3 we need to make sure we set utf-8 encoding.

This PR also removes the character that was causing the initial ascii error.

Follow up to #51122

@garethgreenaway garethgreenaway merged commit aab2c67 into saltstack:2019.2.0.rc1 Jan 9, 2019
twangboy added a commit that referenced this pull request Jan 17, 2019
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