[virt-tools-list] [virt-manager PATCH 2/5] domcapabilities: fix typo in function name

Pavel Hrdina phrdina at redhat.com
Wed Apr 3 13:52:48 UTC 2019


Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---
 virtinst/domcapabilities.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/virtinst/domcapabilities.py b/virtinst/domcapabilities.py
index 72844512..3e203c5a 100644
--- a/virtinst/domcapabilities.py
+++ b/virtinst/domcapabilities.py
@@ -256,7 +256,7 @@ class DomainCapabilities(XMLBuilder):
         arch.text = self.arch
         return ET.tostring(root, encoding="unicode")
 
-    def _get_expandned_cpu(self, mode):
+    def _get_expanded_cpu(self, mode):
         cpuXML = self._convert_mode_to_cpu(mode.get_xml())
         logging.debug("CPU XML for security flag baseline: %s", cpuXML)
 
@@ -286,7 +286,7 @@ class DomainCapabilities(XMLBuilder):
                 continue
 
             try:
-                cpu = self._get_expandned_cpu(m)
+                cpu = self._get_expanded_cpu(m)
             except libvirt.libvirtError as e:
                 logging.warning(_("Failed to get expanded CPU XML: %s"), e)
                 break
-- 
2.20.1




More information about the virt-tools-list mailing list