Signed-off-by: Lucio Correia <luciojhc(a)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