From 08d746e1193c6973639c0a47fa6571125ba24b06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret=20=28fepitre=29?= Date: Wed, 7 Aug 2019 22:10:37 +0200 Subject: [PATCH] devices: add missing docstring for _get_device_classes --- qubesadmin/devices.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qubesadmin/devices.py b/qubesadmin/devices.py index fc08fd8..646ef2d 100644 --- a/qubesadmin/devices.py +++ b/qubesadmin/devices.py @@ -309,6 +309,9 @@ class DeviceManager(dict): return self._get_device_classes() def _get_device_classes(self): + """Function used to call Qubesd in order to obtain + the device classes list + """ device_classes = \ self._vm.app.qubesd_call('dom0', 'admin.deviceclass.List').decode() device_classes = sorted(device_classes.splitlines())