def flood_control(self): if BufferingBot.flood_control(self): return True if not self.ext_buffers: return False self.pop_buffer(min(self.ext_buffers)) return True
def flood_control(self): if BufferingBot.flood_control(self): self.dump_buffer()