add cpub to raet event for compat

This commit is contained in:
Thomas S Hatch 2016-10-27 15:13:30 -06:00
parent a2eae208c5
commit 8e52f425e4

View file

@ -46,6 +46,7 @@ class RAETEvent(object):
self.stack = None
self.ryn = 'manor' # remote yard name
self.connected = False
self.cpub = False
self.__prep_stack(listen)
def __prep_stack(self, listen):
@ -132,6 +133,7 @@ class RAETEvent(object):
self.stack.transmit(msg, self.stack.nameRemotes[self.ryn].uid)
self.stack.serviceAll()
self.connected = True
self.cpub = True
except Exception:
pass