[Zodb-checkins] CVS: ZODB3/ThreadedAsync - LoopCallback.py:1.8.34.2
Tim Peters
tim.one at comcast.net
Wed Jun 9 14:42:35 EDT 2004
Update of /cvs-repository/ZODB3/ThreadedAsync
In directory cvs.zope.org:/tmp/cvs-serv20606/ThreadedAsync
Modified Files:
Tag: Zope-2_7-branch
LoopCallback.py
Log Message:
Whitespace normalization.
=== ZODB3/ThreadedAsync/LoopCallback.py 1.8.34.1 => 1.8.34.2 ===
--- ZODB3/ThreadedAsync/LoopCallback.py:1.8.34.1 Tue Sep 30 15:23:44 2003
+++ ZODB3/ThreadedAsync/LoopCallback.py Wed Jun 9 14:42:03 2004
@@ -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 Zodb-checkins
mailing list