def _sendpendingoutput(self):
        if isinstance(self.pendingoutput[0], dict):
            if 'break' in self.pendingoutput[0]:
                self._sendoutput("", sendbreak=True)
            else:
                raise ValueError
            del self.pendingoutput[0]
            return
        if self.maxoutcount > len(self.pendingoutput[0]):
            chunk = self.pendingoutput[0][:self.maxoutcount]
            self.pendingoutput[0] = self.pendingoutput[0][self.maxoutcount:]
        else:
            chunk = self.pendingoutput[0]
            del self.pendingoutput[0]
        self._sendoutput(chunk)
dataset/ETHPy150Open openstack/pyghmi/pyghmi/ipmi/console.py/Console._sendpendingoutput/swapped operands of `>`