[Zodb-checkins] CVS: Zope/lib/python/ThreadedAsync - LoopCallback.py:1.4.4.2
Chris McDonough
chrism@zope.com
Tue, 8 Oct 2002 17:46:25 -0400
Update of /cvs-repository/Zope/lib/python/ThreadedAsync
In directory cvs.zope.org:/tmp/cvs-serv17057/lib/python/ThreadedAsync
Modified Files:
Tag: chrism-install-branch
LoopCallback.py
Log Message:
More merges from HEAD.
=== Zope/lib/python/ThreadedAsync/LoopCallback.py 1.4.4.1 => 1.4.4.2 ===
--- Zope/lib/python/ThreadedAsync/LoopCallback.py:1.4.4.1 Tue Oct 8 14:41:13 2002
+++ Zope/lib/python/ThreadedAsync/LoopCallback.py Tue Oct 8 17:45:54 2002
@@ -29,7 +29,7 @@
module is imported, any client of the asyncore module will get
ThreadedAsync.loop() when it calls asyncore.loop().
"""
-__version__='$Revision$'[11:-2]
+__version__ = '$Revision$'[11:-2]
import asyncore
import select
@@ -79,7 +79,7 @@
finally:
_loop_lock.release()
-def loop (timeout=30.0, use_poll=0, map=None):
+def loop(timeout=30.0, use_poll=0, map=None):
"""Invoke asyncore mainloop
This function functions like the regular asyncore.loop() function
@@ -103,11 +103,10 @@
_stop_loop()
# Woo hoo!
-asyncore.loop=loop
+asyncore.loop = loop
# What the heck did we just do?
#
# Well, the thing is, we want to work with other asyncore aware
# code. In particular, we don't necessarily want to make someone
# import this module just to start or loop.
-#