More try statemments to work
This commit is contained in:
parent
4ab180d410
commit
b742030bd5
|
@ -185,6 +185,9 @@ class NodeInstance(threading.Thread):
|
|||
self.active_node_list.append(node_name)
|
||||
try:
|
||||
self.flushed_node_list.remove(node_name)
|
||||
except ValueError:
|
||||
pass
|
||||
try:
|
||||
self.inactive_node_list.remove(node_name)
|
||||
except ValueError:
|
||||
pass
|
||||
|
@ -192,6 +195,9 @@ class NodeInstance(threading.Thread):
|
|||
self.flushed_node_list.append(node_name)
|
||||
try:
|
||||
self.active_node_list.remove(node_name)
|
||||
except ValueError:
|
||||
pass
|
||||
try:
|
||||
self.inactive_node_list.remove(node_name)
|
||||
except ValueError:
|
||||
pass
|
||||
|
@ -199,6 +205,9 @@ class NodeInstance(threading.Thread):
|
|||
self.inactive_node_list.append(node_name)
|
||||
try:
|
||||
self.active_node_list.remove(node_name)
|
||||
except ValueError:
|
||||
pass
|
||||
try:
|
||||
self.flushed_node_list.remove(node_name)
|
||||
except ValueError:
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue