Stupid python without static typing and type inference.
[mclu.git] / mclu_import.py
index 52ef161..565d714 100644 (file)
@@ -61,7 +61,7 @@ def run (c, args):
         node_name = m.group (1)
         vm_name = m.group (2)
     else:
-        node = lib.pick_any_node_which_is_up (c)
+        node_name = lib.pick_any_node_which_is_up (c)
         vm_name = args.name
 
     # Get all the guests, so we can tell if the name is a duplicate.