From: Richard W.M. Jones Date: Mon, 12 May 2014 21:40:17 +0000 (+0100) Subject: Stupid python without static typing and type inference. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=652c33e9c65ce2934b35554446ec7d1c5f2ce7bb;p=mclu.git Stupid python without static typing and type inference. --- diff --git a/mclu_build.py b/mclu_build.py index 929f45a..f9ba038 100644 --- a/mclu_build.py +++ b/mclu_build.py @@ -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. diff --git a/mclu_import.py b/mclu_import.py index 52ef161..565d714 100644 --- a/mclu_import.py +++ b/mclu_import.py @@ -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.