<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def flush_one(self, process_name, ignore_priority=False):
 """ method iterates over the reprocessing queue for the given process and re-submits UOW whose waiting time has expired """

        q = self.reprocess_uows[process_name]
        self._flush_queue(q, ignore_priority)