noirbizarre / flask-fs

Simple and easy file storages for Flask
https://flask-fs.readthedocs.org
MIT License
31 stars 15 forks source link

s3: Use connection region to create bucket #32

Open AbdealiLoKo opened 5 years ago

AbdealiLoKo commented 5 years ago

Boto3 always tries to create the bucket in US Standard (N. Virginia) region unless explicitly mentioned. So, give it the region of the connection so that it does raise an error about IllegalLocation.

Fixes: https://github.com/noirbizarre/flask-fs/issues/31

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.3%) to 95.0% when pulling 639999c9be76464b254426c8714681db8e8ceacd on AbdealiJK:ajk-code into 092e9327384b8411c9bb38ca257ecb558584d201 on noirbizarre:master.

AbdealiLoKo commented 5 years ago

@noirbizarre A quick reminder about this

AbdealiLoKo commented 5 years ago

@noirbizarre reminder on this

arslanhashmi commented 4 years ago

This package seems dead.