Don't use deprecated method logger.warn
Method Logger.warn was deprecated [1], use warning instead. [1]https://docs.python.org/3/library/logging.html#logging.Logger.warning Change-Id: I96ef1f4b619f531c5f24243857192cf24fdf65c3
This commit is contained in:
parent
17560e4042
commit
7d1951d79b
@ -193,8 +193,8 @@ class _ClientChannel(comm.ClientChannel):
|
||||
# (LOG, level, message)
|
||||
LOG.log(msg[1], msg[2])
|
||||
else:
|
||||
LOG.warn(_LW('Ignoring unexpected OOB message from privileged '
|
||||
'process: %r'), msg)
|
||||
LOG.warning(_LW('Ignoring unexpected OOB message from privileged '
|
||||
'process: %r'), msg)
|
||||
|
||||
|
||||
def fdopen(fd, *args, **kwargs):
|
||||
|
Loading…
x
Reference in New Issue
Block a user