3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +01:00

PyLinkNetworkCore: rename filename, config -> channel, chandata

Signed-off-by: Celelibi <celelibi@gmail.com>
This commit is contained in:
Celelibi 2020-06-19 03:57:37 +02:00 committed by James Lu
parent 7204ef1cf1
commit dcd0a28c89

View File

@ -284,7 +284,7 @@ class PyLinkNetworkCore(structures.CamelCaseToSnakeCase):
level = chandata.get('loglevel') level = chandata.get('loglevel')
else: else:
log.warning('(%s) Got invalid channel logging pair %r: %r; are your indentation ' log.warning('(%s) Got invalid channel logging pair %r: %r; are your indentation '
'and block commenting consistent?', self.name, filename, config) 'and block commenting consistent?', self.name, channel, chandata)
handler = PyLinkChannelLogger(self, channel, level=level) handler = PyLinkChannelLogger(self, channel, level=level)
self.loghandlers.append(handler) self.loghandlers.append(handler)