def empty_queue(queue):
 chan = connection_manager.get_channel()
 chan.queue_purge(queue)

def empty_queue ( queue ) : chan = connection_manager . get_channel ( ) chan . queue_purge ( queue )
debug function to completely erase the contents of a queue .