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

DDSFile: ddsfile.py fix for string/bytes comparing for py3 #6729

Merged
merged 1 commit into from
Feb 16, 2020

Conversation

wezu
Copy link
Contributor

@wezu wezu commented Feb 14, 2020

I used bytes.decode(), that should work on py2 and py3 but on py2 it's probably string anyway. Comparing to b'DDS ' could have also worked(?).

I used `bytes.decode()`, that should work on py2 and py3 but on py2 it's probably string anyway. Comparing to `b'DDS '` could have also worked(?).
@welcome
Copy link

welcome bot commented Feb 14, 2020

Thanks for opening your first pull request here! 💖 Please check out our contributing guidelines.

@tshirtman tshirtman merged commit 315ca99 into kivy:master Feb 16, 2020
@welcome
Copy link

welcome bot commented Feb 16, 2020

Congrats on merging your first pull request! 🎉🎉🎉

@matham matham added this to the 2.0.0 milestone Oct 28, 2020
@matham matham changed the title ddsfile.py fix for string/bytes comparing for py3 DDSFile: ddsfile.py fix for string/bytes comparing for py3 Dec 9, 2020
@matham matham added the Component: core-app app, clock, config, inspector, logger, resources, modules, clock, base.py label Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: core-app app, clock, config, inspector, logger, resources, modules, clock, base.py
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants