mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 13:45:12 +02:00
Import CancelledError from asyncio, not .futures (#28511)
It's no longer in .futures in Python 3.8.0.
This commit is contained in:
committed by
Martin Hjelmare
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
|
||||
|
Reference in New Issue
Block a user