[Zodb-checkins] CVS: ZODB3/ThreadedAsync - LoopCallback.py:1.5
Guido van Rossum
guido@python.org
Fri, 27 Sep 2002 16:49:09 -0400
Update of /cvs-repository/ZODB3/ThreadedAsync
In directory cvs.zope.org:/tmp/cvs-serv9896
Modified Files:
LoopCallback.py
Log Message:
Whitespace normalization.
=== ZODB3/ThreadedAsync/LoopCallback.py 1.4 => 1.5 ===
--- ZODB3/ThreadedAsync/LoopCallback.py:1.4 Wed Aug 14 18:02:00 2002
+++ ZODB3/ThreadedAsync/LoopCallback.py Fri Sep 27 16:49:08 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.
-#