(self, delete=True)
return output
Create list of messages with most important first.
Create list of messages with most important first.
Create list of messages with most important first .
def _combine(self, delete=True):
        """Create list of messages with most important first."""
        output = []
        for level in sorted(self._message_queue.keys())[::-1]:
            output += self._message_queue[level]
        if delete:
            self._message_queue = defaultdict(list)
        return output
def _combine ( self , delete = True ) : output = [ ] for level in sorted ( self . _message_queue . keys ( ) ) [ : : - 1 ] : output += self . _message_queue [ level ] if delete : self . _message_queue = defaultdict ( list ) return output