mirror of https://github.com/m-labs/artiq.git
devices/corecom_serial: do not use deprecated logger.warn
This commit is contained in:
parent
a6580c3fa2
commit
e0cd45b1ba
|
@ -96,7 +96,7 @@ class CoreCom:
|
|||
else:
|
||||
break
|
||||
if spurious_zero_count:
|
||||
logger.warn("received {} spurious zeros".format(
|
||||
logger.warning("received {} spurious zeros".format(
|
||||
spurious_zero_count))
|
||||
msg = _D2HMsgType(reply)
|
||||
if msg == _D2HMsgType.LOG:
|
||||
|
|
Loading…
Reference in New Issue