forked from M-Labs/artiq
1
0
Fork 0

devices/corecom_serial: do not use deprecated logger.warn

This commit is contained in:
Sebastien Bourdeauducq 2014-09-25 12:58:11 +08:00
parent a6580c3fa2
commit e0cd45b1ba
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ class CoreCom:
else: else:
break break
if spurious_zero_count: if spurious_zero_count:
logger.warn("received {} spurious zeros".format( logger.warning("received {} spurious zeros".format(
spurious_zero_count)) spurious_zero_count))
msg = _D2HMsgType(reply) msg = _D2HMsgType(reply)
if msg == _D2HMsgType.LOG: if msg == _D2HMsgType.LOG: