comparison src/plugins/plugin_misc_xmllog.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
66 def __init__(self, host): 66 def __init__(self, host):
67 info(_("Plugin XML Log initialization")) 67 info(_("Plugin XML Log initialization"))
68 self.host = host 68 self.host = host
69 69
70 #parameters 70 #parameters
71 host.memory.importParams(self.params) 71 host.memory.updateParams(self.params)
72 72
73 #bridge 73 #bridge
74 host.bridge.addSignal("xmlLog", ".plugin", signature='sss') # args: direction("IN" or "OUT"), xml_data, profile 74 host.bridge.addSignal("xmlLog", ".plugin", signature='sss') # args: direction("IN" or "OUT"), xml_data, profile
75 75
76 do_log = self.host.memory.getParamA("Xml log", "Debug") 76 do_log = self.host.memory.getParamA("Xml log", "Debug")