Fix typo in example of barrier timeouts from r88102

This commit is contained in:
David Malcolm 2011-01-18 23:45:53 +00:00
parent 2c3865b210
commit 4934864853
1 changed files with 1 additions and 1 deletions

View File

@ -874,7 +874,7 @@ released and a :exc:`~threading.BrokenBarrierError` exception is raised::
ballots = conduct_election(site)
try:
all_polls_closed.wait(timeout = midnight - time.now())
except BrokenBarrerError:
except BrokenBarrierError:
lockbox = seal_ballots(ballots)
queue.put(lockbox)
else: