Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow stubber to be used with GetBucketLocation #937

Merged
merged 1 commit into from
Jun 3, 2016
Merged

Allow stubber to be used with GetBucketLocation #937

merged 1 commit into from
Jun 3, 2016

Conversation

Jc2k
Copy link
Contributor

@Jc2k Jc2k commented Jun 3, 2016

Right now you can't use the Stubber object with s3's get_bucket_location because it has an override that assumes a body of xml is available. This patch allows the override to be skipped where something (in this case the stubber) has already 'parsed' the response.

@JordonPhillips
Copy link
Contributor

JordonPhillips commented Jun 3, 2016

Looks good, but could you put in a quick unit test? Also, could you please use scripts/new-change to generate a changelog entry? Thanks!

@Jc2k
Copy link
Contributor Author

Jc2k commented Jun 3, 2016

@JordonPhillips done :-)

@JordonPhillips
Copy link
Contributor

@JordonPhillips JordonPhillips merged commit a09c372 into boto:develop Jun 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants