boto/boto — pull request #2479 by mreid-moz (2014-07-31 19:02:30+00:00)
Title: Fix AttributeError: 'Provider' object has no attribute 'encode'

Release 2.32.0 introduces this error - several updates in
https://github.com/boto/boto/commit/614e844408c27cbdeebc1325030820e1ce78aaf0
to encode self._provider.secret_key, but one that erroneously attempts to encode self._provider itself.

This raises the error:
File "/usr/local/lib/python2.7/dist-packages/boto/auth.py", line 102, in __setstate__
self.update_provider(self._provider.encode('utf-8'))
AttributeError: 'Provider' object has no attribute 'encode'