Remove trailing whitespaces.
This commit is contained in:
parent
310e2cc347
commit
27b3592e16
1 changed files with 899 additions and 899 deletions
|
|
@ -51,7 +51,7 @@ PLUGIN_INFO = {
|
|||
|
||||
class IMAP_server():
|
||||
#TODO: connect profile on mailbox request, once password is accepted
|
||||
|
||||
|
||||
params = """
|
||||
<params>
|
||||
<general>
|
||||
|
|
@ -65,13 +65,13 @@ class IMAP_server():
|
|||
def __init__(self, host):
|
||||
info(_("Plugin Imap Server initialization"))
|
||||
self.host = host
|
||||
|
||||
|
||||
#parameters
|
||||
host.memory.importParams(self.params)
|
||||
|
||||
port = int(self.host.memory.getParamA("IMAP Port", "Mail Server"))
|
||||
info(_("Launching IMAP server on port %d"), port)
|
||||
|
||||
|
||||
self.server_factory = ImapServerFactory(self.host)
|
||||
reactor.listenTCP(port, self.server_factory)
|
||||
|
||||
|
|
@ -84,7 +84,7 @@ class Message():
|
|||
self.flags=flags
|
||||
self.mess_fp=mess_fp
|
||||
self.message=Parser().parse(mess_fp)
|
||||
|
||||
|
||||
def getUID(self):
|
||||
"""Retrieve the unique identifier associated with this message.
|
||||
"""
|
||||
|
|
@ -221,7 +221,7 @@ class SatMailbox:
|
|||
"""Called before this mailbox is deleted, permanently.
|
||||
"""
|
||||
debug('destroy')
|
||||
|
||||
|
||||
|
||||
def requestStatus(self, names):
|
||||
"""Return status information about this mailbox.
|
||||
|
|
@ -340,7 +340,7 @@ class SatMailbox:
|
|||
setF(mess_id, new_flags)
|
||||
ret[mess_id] = tuple(new_flags)
|
||||
return ret
|
||||
|
||||
|
||||
if uid:
|
||||
messages.last = self.mailbox.getMaxUid()
|
||||
messages.getnext = self.mailbox.getNextExistingUid
|
||||
|
|
@ -348,7 +348,7 @@ class SatMailbox:
|
|||
for listener in self.listeners:
|
||||
listener.flagsChanged(ret)
|
||||
return ret
|
||||
|
||||
|
||||
else:
|
||||
messages.last = self.getMessageCount()
|
||||
ret = updateFlags(self.mailbox.getFlags,self.mailbox.setFlags)
|
||||
|
|
@ -412,7 +412,7 @@ class SatProfileCredentialChecker:
|
|||
credentialInterfaces = (credentials.IUsernamePassword,
|
||||
credentials.IUsernameHashedPassword)
|
||||
|
||||
|
||||
|
||||
def __init__(self, host):
|
||||
self.host = host
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue