Stupid python without static typing and type inference.
[mclu.git] / mclu_build.py
index 929f45a..f9ba038 100644 (file)
@@ -70,7 +70,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.