yola / yodeploy

Python library for deployment
4 stars 0 forks source link

encodestring was removed in python 3.9 #258

Closed fr33l closed 2 years ago

fr33l commented 2 years ago

It was deprecated in 3.1 and is an alias of encodebytes

snitch commented 2 years ago

:sparkles: No lint errors found. :sparkles:

kosmos342 commented 2 years ago

python 2 doesn't have base64.encodebytes

fr33l commented 2 years ago

err, right I'll deal with it in chef then

kosmos342 commented 2 years ago

I think that you can use base64.b64encode

kosmos342 commented 2 years ago

checked with both pythons. it's same

snitch commented 2 years ago

:sparkles: No lint errors found. :sparkles:

snitch commented 2 years ago

:sparkles: No lint errors found. :sparkles: