From 8faaad0eb6890b530d245b75118d74449f23003d Mon Sep 17 00:00:00 2001 From: Piotr Bartman-Szwarc Date: Mon, 21 Oct 2024 15:37:16 +0200 Subject: [PATCH] q-dev: prettier device data printing --- qubesadmin/tools/qvm_device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubesadmin/tools/qvm_device.py b/qubesadmin/tools/qvm_device.py index 3a1b9d4a..62bae5bf 100644 --- a/qubesadmin/tools/qvm_device.py +++ b/qubesadmin/tools/qvm_device.py @@ -448,7 +448,7 @@ def info_device(args): print(device.description) print(f"device ID: {device.device_id}") for key, value in device.data.items(): - print(key, ":", value) + print(key.replace("_", " ") + ":", value) def init_list_parser(sub_parsers):