[Kimchi-devel] [PATCH] [Kimchi 2/3] Use ASCII name in XML

Lucio Correia luciojhc at linux.vnet.ibm.com
Tue Jun 14 20:40:58 UTC 2016


Signed-off-by: Lucio Correia <luciojhc at linux.vnet.ibm.com>
---
 model/vms.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/model/vms.py b/model/vms.py
index f68e262..30e49df 100644
--- a/model/vms.py
+++ b/model/vms.py
@@ -755,7 +755,7 @@ class VMModel(object):
         nonascii_name = None
 
         if name is not None:
-            params['name'], nonascii_name = get_ascii_nonascii_name(name)
+            name, nonascii_name = get_ascii_nonascii_name(name)
             new_xml = xml_item_update(new_xml, XPATH_NAME, name, None)
 
         # Update CPU info
-- 
1.9.1




More information about the Kimchi-devel mailing list