Commit e72c4821 authored by Ignacio Corderi's avatar Ignacio Corderi
Browse files

setSecurity now allows to be set as pin

parent 10f1af77
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 ###