QueueServer should support reset()

Bug #393621 reported by Barry Warsaw on 2009-06-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lazr.smtptest
High
Barry Warsaw

Bug Description

QueueServer should include this method:

    def reset(self):
        # Consume everything out of the queue.
        while True:
            try:
                self.queue.get_nowait()
            except queue.Empty:
                break

Related branches

Barry Warsaw (barry) on 2009-06-30
Changed in lazr.smtptest:
assignee: nobody → Barry Warsaw (barry)
importance: Undecided → High
milestone: none → 1.2
status: New → In Progress
Barry Warsaw (barry) wrote :

r61

Changed in lazr.smtptest:
status: In Progress → Fix Committed
Barry Warsaw (barry) on 2009-09-24
Changed in lazr.smtptest:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers