e-dard/flask-s3 — pull request #24 by eprikazc (2014-05-14 11:40:15+00:00)
Title: Changed create_all to try to get bucket first and create if one does not...

Changed create_all to try to get bucket first and create if one does not exist

Motivation: conn.create_bucket call is throwing TooManyBuckets exception if the limit on number of buckets is reached. As a result, create_all fails with the error, even when bucket already exists. Example error msg:

TooManyBucketsYou have attempted to create more buckets than allowed10128F97B871F391694tGKxl+TWdARLsieHOgZ+JHQ7fuzptOmzYe3diF8c8tmOeBoRRXqIRXOmpJEOhFHl3Gl31QUPtCc=100