subiquity/subiquitycore
Dan Bungert 4b1277ae2d console-conf: fix crash on network info
If you run dryrun for console-conf, go to the network page, go to an
interface, then info, a crash of the form
TypeError: object str can't be used in 'await' expression
can be seen. The signature for the core version of get_info_for_netdev
is not async, but a non-async method returning str.

So mark the core version of the function async.

Co-authored-by: Michael Hudson-Doyle <michael.hudson@canonical.com>
2022-03-14 15:09:23 -06:00
..
controllers console-conf: fix crash on network info 2022-03-14 15:09:23 -06:00
models remove stdlib backports from Python 3.8 2021-10-12 18:55:09 -06:00
testing support for editing existing partitions 2019-05-30 15:10:54 +12:00
tests Allow to pass dry_run boolean to lsb_release 2021-12-17 16:00:52 +01:00
ui Use logger names consistent with directory structure 2022-02-25 17:35:45 +01:00
__init__.py pyflakes3 fixes for subiquitycore/__init__.py 2018-05-24 16:59:31 -05:00
async_helpers.py translate concurrent.futures.CancelledError to asyncio.CancelledError 2020-04-02 12:15:06 +13:00
context.py add a mode argument to shutdown to allow reboot or power off 2021-08-22 09:36:41 +12:00
controller.py Add type hinting for controller base class attributes 2022-01-14 13:02:44 +01:00
controllerset.py fixes for how install failures are presented 2020-09-21 14:01:23 +12:00
core.py options: add output_base for dryrun use 2022-01-26 10:39:23 -07:00
file_util.py logging: raise warning when not adjusting perms 2022-03-14 09:48:19 -06:00
i18n.py remove stdlib backports from Python 3.8 2021-10-12 18:55:09 -06:00
log.py logging: 0770 log dir in install env, 0750 later 2022-03-11 12:44:22 -07:00
lsb_release.py Allow to pass dry_run boolean to lsb_release 2021-12-17 16:00:52 +01:00
netplan.py do not log wifi passwords from existing configs 2020-05-19 07:47:33 +12:00
palette.py Move the code for setting up the screen to its own file 2020-07-27 23:40:17 +12:00
prober.py Verify that machine-config arg is a file 2021-07-14 16:40:22 -06:00
pubsub.py pubsub: remove subscribe args, more broadcast args 2021-09-24 13:11:55 -06:00
screen.py Move the code for setting up the screen to its own file 2020-07-27 23:40:17 +12:00
snapd.py options: add output_base for dryrun use 2022-01-26 10:39:23 -07:00
ssh.py do not set installer user password if it has password or authorized keys 2021-03-25 14:26:49 +13:00
tui.py locale - let it check interactive-sections again (#937) 2021-04-21 10:11:27 -06:00
tuicontroller.py simple replacement for urwid signals wrapper as used in server 2021-04-13 09:41:43 +12:00
utils.py Add type annotations for command execution methods 2022-02-28 14:05:56 +01:00
view.py add the ability to remove a particular overlay, not just the top one 2020-05-01 12:46:45 +12:00