[Zope3-checkins] CVS: Zope3/src/zope/server - dualmodechannel.py:1.1.2.2

Guido van Rossum guido@python.org
Mon, 23 Dec 2002 16:50:00 -0500


Update of /cvs-repository/Zope3/src/zope/server
In directory cvs.zope.org:/tmp/cvs-serv14075

Modified Files:
      Tag: NameGeddon-branch
	dualmodechannel.py 
Log Message:
Fix up selecttrigger imports.


=== Zope3/src/zope/server/dualmodechannel.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/server/dualmodechannel.py:1.1.2.1	Mon Dec 23 14:33:18 2002
+++ Zope3/src/zope/server/dualmodechannel.py	Mon Dec 23 16:50:00 2002
@@ -21,14 +21,14 @@
 from time import time
 from UserDict import UserDict
 
-from Thread import SelectTrigger
+import selecttrigger
 from zope.server.adjustments import default_adj
 from zope.server.buffers import OverflowableBuffer
 
 
 # Create the main trigger if it doesn't exist yet.
-if SelectTrigger.the_trigger is None:
-    SelectTrigger.the_trigger = SelectTrigger.Trigger()
+if selecttrigger.the_trigger is None:
+    selecttrigger.the_trigger = selecttrigger.Trigger()
 
 
 
@@ -176,7 +176,7 @@
     def pull_trigger(self):
         """Wakes up the main loop.
         """
-        SelectTrigger.the_trigger.pull_trigger()
+        selecttrigger.the_trigger.pull_trigger()
 
     def _flush_some(self):
         """Flushes data.