Skip to content

Added "does_mailbox_exist" method#2

Merged
vmalloc merged 2 commits intogetslash:masterfrom
Guy-Lev:master
Mar 1, 2016
Merged

Added "does_mailbox_exist" method#2
vmalloc merged 2 commits intogetslash:masterfrom
Guy-Lev:master

Conversation

@Guy-Lev
Copy link
Copy Markdown

@Guy-Lev Guy-Lev commented Mar 1, 2016

No description provided.

Comment thread mailboxer/mailboxer.py Outdated
url = self.url.add_path("unread_emails") if unread else self.url.add_path("emails")
return self.mailboxer._get_paged(url, Email)

def does_exist(self):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I personally prefer exists()

vmalloc added a commit that referenced this pull request Mar 1, 2016
Added "does_mailbox_exist" method
@vmalloc vmalloc merged commit f2584b2 into getslash:master Mar 1, 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