Mercurial > libervia-backend
comparison src/plugins/plugin_misc_xmllog.py @ 588:beaf6bec2fcd
Remove every old-style class.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 18 Jan 2013 17:55:35 +0100 |
parents | 952322b1d490 |
children | e629371a28d3 |
comparison
equal
deleted
inserted
replaced
587:952322b1d490 | 588:beaf6bec2fcd |
---|---|
50 def dataReceived(self, data): | 50 def dataReceived(self, data): |
51 self._host.bridge.xmlLog("IN", data.decode('utf-8'), self._profile) | 51 self._host.bridge.xmlLog("IN", data.decode('utf-8'), self._profile) |
52 return XmlStream.dataReceived(self, data) | 52 return XmlStream.dataReceived(self, data) |
53 | 53 |
54 | 54 |
55 class XmlLog(): | 55 class XmlLog(object): |
56 | 56 |
57 params = """ | 57 params = """ |
58 <params> | 58 <params> |
59 <general> | 59 <general> |
60 <category name="Debug"> | 60 <category name="Debug"> |