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

Add key.delete() #27

Merged
merged 2 commits into from
Jun 15, 2016
Merged

Add key.delete() #27

merged 2 commits into from
Jun 15, 2016

Conversation

vadim-ex
Copy link
Contributor

No description provided.

def func():
'''The bit that we want to retry'''
key.delete(headers=headers)
return True
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other variants don't seem to return True?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think they need to return anything (as long as they raise an exception on failure)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@dlecocq
Copy link
Contributor

dlecocq commented Jun 14, 2016

Done with first pass

@vadim-ex
Copy link
Contributor Author

PTAL

@dlecocq
Copy link
Contributor

dlecocq commented Jun 15, 2016

Aside from the lingering question about boto's behavior for key.delete(), LGTM.

@dlecocq
Copy link
Contributor

dlecocq commented Jun 15, 2016

LGTM

@vadim-ex vadim-ex merged commit 47c48dc into master Jun 15, 2016
@vadim-ex vadim-ex deleted the vadim/add-delete-key branch June 15, 2016 15:31
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.

None yet

2 participants