Gmail.py Changed comments to docstring
This patch changes the comments in these functions to docstrings and remove pylint warnings.
This commit is contained in:
parent
fc2055de8c
commit
3f7e9fe1bd
@ -98,12 +98,16 @@ class GmailRepository(IMAPRepository):
|
|||||||
return folder.Gmail.GmailFolder
|
return folder.Gmail.GmailFolder
|
||||||
|
|
||||||
def gettrashfolder(self):
|
def gettrashfolder(self):
|
||||||
# Where deleted mail should be moved
|
"""
|
||||||
|
Where deleted mail should be moved
|
||||||
|
"""
|
||||||
return self.getconf('trashfolder', '[Gmail]/Trash')
|
return self.getconf('trashfolder', '[Gmail]/Trash')
|
||||||
|
|
||||||
def getspamfolder(self):
|
def getspamfolder(self):
|
||||||
# Depending on the IMAP settings (Settings -> Forwarding and
|
"""
|
||||||
# POP/IMAP -> IMAP Access -> "When I mark a message in IMAP as
|
Depending on the IMAP settings (Settings -> Forwarding and
|
||||||
# deleted") GMail might also deletes messages upon EXPUNGE in
|
POP/IMAP -> IMAP Access -> "When I mark a message in IMAP as
|
||||||
# the Spam folder.
|
deleted") GMail might also deletes messages upon EXPUNGE in
|
||||||
|
the Spam folder.
|
||||||
|
"""
|
||||||
return self.getconf('spamfolder', '[Gmail]/Spam')
|
return self.getconf('spamfolder', '[Gmail]/Spam')
|
||||||
|
Loading…
Reference in New Issue
Block a user