Please sign in to comment.
Use boto.exception for checking expirations
The exceptions in boto.exception are able to parse all of the "credentials expired" messages, so those classes are used to check whether or not credentials are expired. This removes the usage of ElementTree and StringIO. I ran the s3 integration tests against 2.6 and 2.7 and they're passing for me.
- Loading branch information...
Showing with 20 additions and 74 deletions.