Exemple #1
0
    def replyArrived(self, reply):
        SpecCommandA.replyArrived(self, reply)

        self.__cmdExecution = False
        
        if reply.error:
            self.emit('commandFailed', (reply.error_code, str(self.name())))
        else:
            self.emit('commandReplyArrived', (reply.getValue(), str(self.name())))
Exemple #2
0
    def replyArrived(self, reply):
        SpecCommandA.replyArrived(self, reply)

        self.__cmdExecution = False

        if reply.error:
            self.emit('commandFailed', (reply.error_code, str(self.name())))
        else:
            self.emit('commandReplyArrived',
                      (reply.getValue(), str(self.name())))