[Zope-Checkins] CVS: ZODB3/ThreadedAsync - LoopCallback.py:1.10
Tim Peters
tim.one at comcast.net
Thu Oct 2 18:14:33 EDT 2003
Update of /cvs-repository/ZODB3/ThreadedAsync
In directory cvs.zope.org:/tmp/cvs-serv25291/ThreadedAsync
Modified Files:
LoopCallback.py
Log Message:
Whitespace normalization.
=== ZODB3/ThreadedAsync/LoopCallback.py 1.9 => 1.10 ===
--- ZODB3/ThreadedAsync/LoopCallback.py:1.9 Thu Oct 2 14:17:26 2003
+++ ZODB3/ThreadedAsync/LoopCallback.py Thu Oct 2 18:14:01 2003
@@ -57,17 +57,17 @@
_loop_callbacks.append((callback, args, kw))
finally:
_loop_lock.release()
-
+
def remove_loop_callback(callback):
"""Remove a callback function registered earlier.
-
+
This is useful if loop() was never called.
"""
for i in range(len(_loop_callbacks)):
if _loop_callbacks[i][0] == callback:
del _loop_callbacks[i]
return
-
+
def _start_loop(map):
_loop_lock.acquire()
try:
More information about the Zope-Checkins
mailing list