mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Import CancelledError from asyncio, not .futures (#28511)
It's no longer in .futures in Python 3.8.0.
This commit is contained in:
parent
0768ae2dc8
commit
734e982822
@ -1,6 +1,6 @@
|
||||
"""Support for Bluesound devices."""
|
||||
import asyncio
|
||||
from asyncio.futures import CancelledError
|
||||
from asyncio import CancelledError
|
||||
from datetime import timedelta
|
||||
import logging
|
||||
from urllib import parse
|
||||
|
Loading…
x
Reference in New Issue
Block a user