[Python-checkins] r54225 - python/trunk/Lib/sched.py
raymond.hettinger
python-checkins at python.org
Thu Mar 8 20:24:27 CET 2007
Author: raymond.hettinger
Date: Thu Mar 8 20:24:27 2007
New Revision: 54225
Modified:
python/trunk/Lib/sched.py
Log:
SF 1676321: empty() returned wrong result
Modified: python/trunk/Lib/sched.py
==============================================================================
--- python/trunk/Lib/sched.py (original)
+++ python/trunk/Lib/sched.py Thu Mar 8 20:24:27 2007
@@ -72,7 +72,7 @@
def empty(self):
"""Check whether the queue is empty."""
- return not not self.queue
+ return not self.queue
def run(self):
"""Execute events until the queue is empty.
More information about the Python-checkins
mailing list