comparison src/plugins/plugin_misc_imap.py @ 1245:84d06701f5c4

plugin misc_imap: fixes call to log.debug with more than one argument
author souliane <souliane@mailoo.org>
date Sun, 19 Oct 2014 12:31:28 +0200
parents 72f25d671368
children 3265a2639182
comparison
equal deleted inserted replaced
1244:c3884a63efde 1245:84d06701f5c4
149 implements(imap4.IMailbox) 149 implements(imap4.IMailbox)
150 150
151 def __init__(self, host, name, profile): 151 def __init__(self, host, name, profile):
152 self.host = host 152 self.host = host
153 self.listeners = set() 153 self.listeners = set()
154 log.debug('Mailbox init (%s)', name) 154 log.debug('Mailbox init (%s)' % name)
155 if name != "INBOX": 155 if name != "INBOX":
156 raise imap4.MailboxException("Only INBOX is managed for the moment") 156 raise imap4.MailboxException("Only INBOX is managed for the moment")
157 self.mailbox = self.host.plugins["Maildir"].accessMessageBox(name, self.newMessage, profile) 157 self.mailbox = self.host.plugins["Maildir"].accessMessageBox(name, self.newMessage, profile)
158 158
159 def newMessage(self): 159 def newMessage(self):