Skip to content

Commit d37140d

Browse files
committed
Log zeroconf.asyncio deprecation warning with the logger module
1 parent 601e8f7 commit d37140d

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

zeroconf/asyncio.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,8 @@
2020
USA
2121
"""
2222

23-
import logging
24-
2523
from .aio import AsyncZeroconf # pylint: disable=unused-import # noqa
26-
27-
log = logging.getLogger(__name__)
24+
from .logger import log
2825

2926
# The asyncio module would shadow system asyncio in some import cases
3027
# to resolve this, the module has been renamed zeroconf.aio

0 commit comments

Comments
 (0)