Commit e03a836a authored by Julien Muchembled's avatar Julien Muchembled

client: prevent RTMIN+3 from connecting to master if not connected yet

parent c324955d
...@@ -148,8 +148,9 @@ class Application(object): ...@@ -148,8 +148,9 @@ class Application(object):
def log(self): def log(self):
self.em.log() self.em.log()
self.nm.log() self.nm.log()
if self.pt is not None: pt = self.__dict__.get('pt')
self.pt.log() if pt is not None:
pt.log()
def _handlePacket(self, conn, packet, kw={}, handler=None): def _handlePacket(self, conn, packet, kw={}, handler=None):
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment