Mercurial > libervia-backend
comparison src/plugins/plugin_misc_imap.py @ 662:4f747d7fde8c
core: importParams renamed to updateParams: it now updates the parameter instead of appending children if it find an existing one.
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 31 Oct 2013 17:14:15 +0100 |
parents | 84a6e83157c2 |
children | bfabeedbf32e |
comparison
equal
deleted
inserted
replaced
661:d81f55a58c08 | 662:4f747d7fde8c |
---|---|
62 def __init__(self, host): | 62 def __init__(self, host): |
63 info(_("Plugin Imap Server initialization")) | 63 info(_("Plugin Imap Server initialization")) |
64 self.host = host | 64 self.host = host |
65 | 65 |
66 #parameters | 66 #parameters |
67 host.memory.importParams(self.params) | 67 host.memory.updateParams(self.params) |
68 | 68 |
69 port = int(self.host.memory.getParamA("IMAP Port", "Mail Server")) | 69 port = int(self.host.memory.getParamA("IMAP Port", "Mail Server")) |
70 info(_("Launching IMAP server on port %d"), port) | 70 info(_("Launching IMAP server on port %d"), port) |
71 | 71 |
72 self.server_factory = ImapServerFactory(self.host) | 72 self.server_factory = ImapServerFactory(self.host) |