Mercurial > libervia-backend
changeset 285:6422fcdd831c
plugin XML Log: fixed dbus signal name
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 04 Feb 2011 00:17:56 +0100 |
parents | c25371424090 |
children | 3b382fa0ac28 |
files | src/plugins/plugin_misc_xmllog.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/plugin_misc_xmllog.py Fri Feb 04 00:13:41 2011 +0100 +++ b/src/plugins/plugin_misc_xmllog.py Fri Feb 04 00:17:56 2011 +0100 @@ -44,11 +44,11 @@ log=obj.toXml() else: error(_('INTERNAL ERROR: Unmanaged XML type')) - self._host.bridge.XmlLog("OUT", log, self._profile) + self._host.bridge.xmlLog("OUT", log, self._profile) return XmlStream.send(self, obj) def dataReceived(self, data): - self._host.bridge.XmlLog("IN", data.decode('utf-8'), self._profile) + self._host.bridge.xmlLog("IN", data.decode('utf-8'), self._profile) return XmlStream.dataReceived(self, data) @@ -72,7 +72,7 @@ host.memory.importParams(self.params) #bridge - host.bridge.addSignal("XmlLog", ".communication", signature='sss') #args: direction("IN" or "OUT"), xml_data, profile + host.bridge.addSignal("xmlLog", ".communication", signature='sss') #args: direction("IN" or "OUT"), xml_data, profile do_log = bool(self.host.memory.getParamA("Xml log", "Debug")) if do_log: