-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[18.0][FIX] fetchmail_attach_from_folder: add missing keyword argument #3460
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
base: 18.0
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -66,10 +66,12 @@ def onchange_server_type(self): | |
| self.state = "draft" | ||
| return result | ||
|
|
||
| def fetch_mail(self): | ||
| def fetch_mail(self, raise_exception=True): | ||
| result = True | ||
| for this in self: | ||
| if not this.folders_only: | ||
| result = result and super(FetchmailServer, this).fetch_mail() | ||
| result = result and super(FetchmailServer, this).fetch_mail( | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. and |
||
| raise_exception | ||
| ) | ||
| this.folder_ids.fetch_mail() | ||
| return result | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of
raise_exception=Trueput**kwargshere.