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

Avoid messing with the error encoding (Fixes #61) #62

Merged
merged 1 commit into from Feb 23, 2016

Conversation

dirkmueller
Copy link
Contributor

Convert str() to unicode() on python 2 before printing it.

Handle printing of str gracefully by first encoding
it to unicode before printing it in the proper encoding.
Also fix python2 check.
@dirkmueller
Copy link
Contributor Author

Thanks for the comments, this version also passes the regression check

python2 ./rpmlint -c TagsCheck test/binary/autofs-5.0.7-28.fc19.i686.rpm >/dev/null

scop added a commit that referenced this pull request Feb 23, 2016
Avoid messing with the error encoding (Fixes #61)
@scop scop merged commit 6330241 into rpm-software-management:master Feb 23, 2016
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

3 participants