Loading kinetic/baseclient.py +2 −2 Original line number Diff line number Diff line Loading @@ -353,12 +353,12 @@ class BaseClient(object): done = False while not done: m,cmd,value = self.network_recv() if m.authType == messages.Message.UNSOLICITED_STATUS: if m.authType == messages.Message.UNSOLICITEDSTATUS: if self.on_unsolicited: self.on_unsolicited(resp.status) # uncatched exceptions by the handler will be raised to the caller else: LOG.warn('Unsolicited status %s received but nobody listening.' % cmd.status.code) else: done = True return m,cmd,value ### with statement support ### Loading Loading
kinetic/baseclient.py +2 −2 Original line number Diff line number Diff line Loading @@ -353,12 +353,12 @@ class BaseClient(object): done = False while not done: m,cmd,value = self.network_recv() if m.authType == messages.Message.UNSOLICITED_STATUS: if m.authType == messages.Message.UNSOLICITEDSTATUS: if self.on_unsolicited: self.on_unsolicited(resp.status) # uncatched exceptions by the handler will be raised to the caller else: LOG.warn('Unsolicited status %s received but nobody listening.' % cmd.status.code) else: done = True return m,cmd,value ### with statement support ### Loading