subiquity/subiquitycore/controllers
Olivier Gayot f0e5c19ee7 loop: replace use of asyncio.get_event_loop
The behavior of asyncio.get_event_loop() will change in a future Python
version. It is deprecated starting Python 3.10.

The functions that we can use instead are:

 * asyncio.new_event_loop() - which creates a new event loop
 * asyncio.get_running_loop() - which returns the event loop only if it
   is already running

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
2022-10-07 18:45:11 +02:00
..
__init__.py Re-introduce 'subiquity' package for installer specific things. 2016-07-25 12:51:39 +12:00
network.py loop: replace use of asyncio.get_event_loop 2022-10-07 18:45:11 +02:00