diff src/plugins/plugin_misc_smtp.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
line wrap: on
line diff
--- a/src/plugins/plugin_misc_smtp.py	Tue Oct 15 23:10:31 2013 +0200
+++ b/src/plugins/plugin_misc_smtp.py	Thu Oct 31 17:14:15 2013 +0100
@@ -63,7 +63,7 @@
         self.host = host
 
         #parameters
-        host.memory.importParams(self.params)
+        host.memory.updateParams(self.params)
 
         port = int(self.host.memory.getParamA("SMTP Port", "Mail Server"))
         info(_("Launching SMTP server on port %d"), port)