[Zope-Checkins] CVS: Zope/lib/python/ZServer/medusa/thread - select_trigger.py:1.6.8.1

Tres Seaver cvs-admin at zope.org
Mon Nov 17 17:34:52 EST 2003


Update of /cvs-repository/Zope/lib/python/ZServer/medusa/thread
In directory cvs.zope.org:/tmp/cvs-serv16574/lib/python/ZServer/medusa/thread

Modified Files:
      Tag: Zope-2_7-branch
	select_trigger.py 
Log Message:
 - Merge tseaver-strexp_delenda-branch to the 2.7 branch.


=== Zope/lib/python/ZServer/medusa/thread/select_trigger.py 1.6 => 1.6.8.1 ===
--- Zope/lib/python/ZServer/medusa/thread/select_trigger.py:1.6	Tue Mar 18 16:17:03 2003
+++ Zope/lib/python/ZServer/medusa/thread/select_trigger.py	Mon Nov 17 17:34:21 2003
@@ -92,6 +92,9 @@
 
     # win32-safe version
 
+    class BindError(Exception):
+        pass
+
     class trigger (asyncore.dispatcher):
     
         address = ('127.9.9.9', 19999)
@@ -113,7 +116,7 @@
                     break
                 except:
                     if port <= 19950:
-                        raise 'Bind Error', 'Cannot bind trigger!'
+                        raise BindError, 'Cannot bind trigger!'
                     port=port - 1
                     
             a.listen (1)




More information about the Zope-Checkins mailing list