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

use encodebytes for Python 3 to avoid DeprecationWarning #320

Merged
merged 1 commit into from
Jul 21, 2014
Merged

use encodebytes for Python 3 to avoid DeprecationWarning #320

merged 1 commit into from
Jul 21, 2014

Conversation

piotrbulinski
Copy link
Contributor

This solves the DeprecationWarning from #319 which also affects us.

botocore/auth.py:453: DeprecationWarning: encodestring() is a deprecated alias, use encodebytes() return base64.encodestring(new_hmac.digest()).strip().decode('utf-8')

@jamesls jamesls self-assigned this Jul 11, 2014
@piotrbulinski
Copy link
Contributor Author

What do you think about this pull request? Any chances to merge it? :)

@jamesls
Copy link
Member

jamesls commented Jul 18, 2014

Sorry for the delay. I'll take a look, but I'm pretty sure there's no issues with merging this. Thanks for the PR.

@piotrbulinski
Copy link
Contributor Author

Cool. Thanks for the update. Looking forward to have it merged and less deprecation warnings in the logs ;)

@jamesls jamesls merged commit 14fdae3 into boto:develop Jul 21, 2014
@jamesls
Copy link
Member

jamesls commented Jul 21, 2014

Merged, thanks!

@jamesls jamesls mentioned this pull request Jul 21, 2014
@piotrbulinski
Copy link
Contributor Author

Cool. Thank you!

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.

2 participants