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

delete and reset ranking (for autocompletion address) #26

Merged
merged 1 commit into from
Oct 20, 2015

Conversation

Tuxem
Copy link
Contributor

@Tuxem Tuxem commented Oct 7, 2015

This is to flush contacts kept in the autocompletion selection.

def reset_ranking(self):
"""Reset the contact ranking table for the account
"""
self.request('RankingAction', { 'action':
Copy link
Contributor

Choose a reason for hiding this comment

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

Weird indentation/alignment/whitespacing (see pep8), actually here it's under 79 chars, it could go on one line:

self.request('RankingAction', {'action': {'op': 'reset'}})

@JocelynDelalande
Copy link
Contributor

Please review & merge #28 (if ok) and then rebase this pr on master so that tests are ran against it.

JocelynDelalande added a commit that referenced this pull request Oct 20, 2015
delete and reset ranking (for autocompletion address)
@JocelynDelalande JocelynDelalande merged commit aea2eb1 into oasiswork:master Oct 20, 2015
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