def joe_flacco(self): from signalqueue.utils import log_exceptions with log_exceptions(): self.signalqueue.dequeue() if self.signalqueue.count() < 1: self.logg.info("Queue exhausted, exiting...") raise KeyboardInterrupt
def ray_rice(self): from signalqueue.utils import log_exceptions with log_exceptions(): self.signalqueue.dequeue()