From 9ab02318c693c22aa16bd8505cf664f98bd6f76f Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Fri, 1 Jun 2018 00:41:26 -0400 Subject: [PATCH] More fixes --- NodeInstance.py | 2 ++ pvcd.py | 1 + 2 files changed, 3 insertions(+) diff --git a/NodeInstance.py b/NodeInstance.py index b0646cf3..dd6c04be 100644 --- a/NodeInstance.py +++ b/NodeInstance.py @@ -99,6 +99,8 @@ class NodeInstance(threading.Thread): self.flush() def setup_remote_node(self): + pass + @zk.DataWatch(self.zkey + '/state') def watch_state(data, stat): self.state = data.decode('ascii') diff --git a/pvcd.py b/pvcd.py index 66c1320b..152446f0 100755 --- a/pvcd.py +++ b/pvcd.py @@ -82,6 +82,7 @@ def updatenodes(new_node_list): t_node[node].start() node_state = t_node[node].getstate() + print(node_state) if node_state == 'start': active_node_list.append(t_node[node].getname()) elif node_state == 'flush':