Fix args order in setup_node call
[csit.git] / resources / libraries / python / SetupFramework.py
index c9207d9..9aff152 100644 (file)
@@ -249,9 +249,9 @@ class SetupFramework(object):
         threads = []
 
         for node in nodes.values():
-            thread = threading.Thread(target=setup_node, args=(tarball,
+            thread = threading.Thread(target=setup_node, args=(node,
+                                                               tarball,
                                                                remote_tarball,
-                                                               node,
                                                                results))
             thread.start()
             threads.append(thread)