From e0cd45b1bab3770c234a8c2ac4bbafb64987b1df Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 25 Sep 2014 12:58:11 +0800 Subject: [PATCH] devices/corecom_serial: do not use deprecated logger.warn --- artiq/devices/corecom_serial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/devices/corecom_serial.py b/artiq/devices/corecom_serial.py index 7fef4a461..91b41b38b 100644 --- a/artiq/devices/corecom_serial.py +++ b/artiq/devices/corecom_serial.py @@ -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: