Comment 5 for bug 1507109

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :

OK, try this, please.

in duplicity/backends/_boto_single.py line 187 change:

            if "NoSuchBucket" in e.error_code:

to this (forces string of e):

            if "NoSuchBucket" in e:

Note, this is just a workaround suggestion. From comments on the web:

"Your question about Boto is a good one, not not easy to answer. The Boto exception hierarchy is poorly designed, and ultimately the only way to determine what the exception you want to trap is requires looking at the boto source code."