Skip to content

Conversation

@willis102
Copy link
Contributor

@willis102 willis102 commented Aug 13, 2019

Fixes a bug where URL parsing fails because mimetypes attempts to call a urllib function that no longer exists. Affects Windows installs with Python 2.7.0-2.7.9 only.

@willis102 willis102 requested a review from thebeeland August 13, 2019 22:02
@willis102 willis102 changed the title [minor] Fixes a bug where url parsing will fail in mimetypes SG-13608 Fixes a bug where url parsing will fail in mimetypes Aug 13, 2019
Copy link
Contributor

@thebeeland thebeeland left a comment

Choose a reason for hiding this comment

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

Assuming tests pass in 2.6/2.7/3.7 when run locally (since CI is broken right now), then this looks fine to me.

since this method is used in the shotgun api.
@willis102 willis102 force-pushed the mimetypes_url_parsing_fix branch from dc3af57 to 44bc2bf Compare August 26, 2019 17:36
@willis102 willis102 closed this Aug 26, 2019
@willis102
Copy link
Contributor Author

Replaced with PR #207 -- since the mimetypes module does not need to be used in python3, there's no need for it to be python3 compatible.

@willis102 willis102 deleted the mimetypes_url_parsing_fix branch August 26, 2019 17:48
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