-def switch( t, hosts, execs):
- comm0.destination = hosts[ t.count % 2]
- comm0.remove_successor(execs[ t.count % 2 - 1])
- comm0.add_successor(execs[ t.count % 2])
+def switch(t, hosts, execs):
+ comm0.destination = hosts[t.count % 2]
+ comm0.remove_successor(execs[t.count % 2 - 1])
+ comm0.add_successor(execs[t.count % 2])