summaryrefslogtreecommitdiffstats
path: root/Lib/Queue.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-03-25 01:50:43 (GMT)
committerTim Peters <tim.peters@gmail.com>2006-03-25 01:50:43 (GMT)
commite33901eb2b196149eab06f2943256e07b494fbb1 (patch)
tree81825c6becdae54bd24e7d5d744d9a87f9b0a0a8 /Lib/Queue.py
parent1a9fac09377b1da9e86fd4fbb80257b49623d984 (diff)
downloadcpython-e33901eb2b196149eab06f2943256e07b494fbb1.zip
cpython-e33901eb2b196149eab06f2943256e07b494fbb1.tar.gz
cpython-e33901eb2b196149eab06f2943256e07b494fbb1.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/Queue.py')
-rw-r--r--Lib/Queue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/Queue.py b/Lib/Queue.py
index 285cd17..ad65cf0 100644
--- a/Lib/Queue.py
+++ b/Lib/Queue.py
@@ -59,7 +59,7 @@ class Queue:
self.unfinished_tasks = unfinished = self.unfinished_tasks - 1
if unfinished <= 0:
if unfinished < 0:
- raise ValueError('task_done() called too many times')
+ raise ValueError('task_done() called too many times')
self.all_tasks_done.notifyAll()
finally:
self.all_tasks_done.release()