[virt-tools-list] [PATCH virt-manager 12/14] domain: remove indirection

Marc Hartmayer mhartmay at linux.ibm.com
Tue Dec 18 13:45:01 UTC 2018


Signed-off-by: Marc Hartmayer <mhartmay at linux.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy at linux.ibm.com>
---
 virtManager/domain.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/virtManager/domain.py b/virtManager/domain.py
index 1577b213f533..3abec880285c 100644
--- a/virtManager/domain.py
+++ b/virtManager/domain.py
@@ -1292,9 +1292,8 @@ class vmmDomain(vmmLibvirtObject):
         return ret
 
     def _get_device_boot_order(self):
-        devs = self.get_bootable_devices()
         order = []
-        for dev in devs:
+        for dev in self.get_bootable_devices():
             if not dev.boot.order:
                 continue
             order.append((dev.get_xml_id(), dev.boot.order))
-- 
2.17.0




More information about the virt-tools-list mailing list