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 to handle non-ascii characters in platform version shown in Versions panel. #98

Merged
merged 1 commit into from
Jun 24, 2013

Conversation

hanula
Copy link
Contributor

@hanula hanula commented Apr 25, 2013

Non-ascii characters in platform name, for example Fedora's <<Schrödinger’s Cat>>
causes VersionDebugPanel to fail with UnicodeDecodeError. Added compat.text_(.., 'utf8')
convertion and moved platform name discovery to helper method to be easily swaped in unit tests.

Non-ascii characters in platform name, for example Fedora's <<Schrödinger’s Cat>>
causes VersionDebugPanel to fail with UnicodeDecodeError. Added compat.text_(.., 'utf8')
convertion and moved platform name discovery to helper method to be easily swaped in unit tests.
@tseaver
Copy link
Member

tseaver commented May 6, 2013

The patch looks pretty good. For future reference, please avoid mixing whitespace changes with substanntive ones: they make review trickier than necessary.

Can you please add a description of the change in 'CHANGES.txt'? Thank!

@brodul
Copy link
Contributor

brodul commented Jun 24, 2013

All tests pass (with the 38cc717 patch).

I recommend to add the following line to CHANGES.txt while merging:

  • Fix platform name encoding.

@mcdonc mcdonc merged commit 0d00ca2 into Pylons:master Jun 24, 2013
@mcdonc
Copy link
Member

mcdonc commented Jun 24, 2013

Thank you, it's merged!

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.

4 participants