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

BUG: fix unicode handling in PKG-INFO and metadata summary. #72

Merged
merged 2 commits into from Jun 30, 2015

Conversation

cournape
Copy link
Contributor

Fixes #71

@sjagoe

@cournape
Copy link
Contributor Author

Since Simon is on holidays: @itziakos

@@ -93,14 +93,15 @@ def commit(self):

def _write_spec_depend(self):
spec_depend_string = self._egg_metadata.spec_depend_string
self._fp.writestr(_SPEC_DEPEND_LOCATION, spec_depend_string)
self._fp.writestr(_SPEC_DEPEND_LOCATION, spec_depend_string.encode())

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not specify the encoding here as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should indeed be ascii

@jvkersch
Copy link

LGTM

cournape added a commit that referenced this pull request Jun 30, 2015
BUG: fix unicode handling in PKG-INFO and metadata summary.
@cournape cournape merged commit 17a9197 into master Jun 30, 2015
@cournape cournape deleted the fix_unicode_description branch June 30, 2015 08:13
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

2 participants