S3 storage bucket not being automatically created
Bug #1476019 reported by
abeverley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Hi,
Duplicity version: 0.6.26 (and seemingly trunk)
Python version: 2.7.9
OS: Debian Jessie
Target storage: S3
Duplicity is not automatically creating S3 buckets, whereas I think it should be (from the documentation and the code).
Buckets are created automatically from put() in _boto_single.py. However, the first time an attempt is made to access a bucket is in resetConnection(), which does not have the exception handling (and bucket creation) that put() does.
Fix: I think the bucket creation exception handling should be in resetConnection() instead of put(). If for some reason put() can be called without resetConnection(), then it should be in both.
Thanks,
Andy
Changed in duplicity: | |
importance: | Undecided → Medium |
milestone: | none → 0.7.05 |
status: | New → Fix Committed |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This patch fixes the bug (tested successfully).