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

Tres Seaver cvs-admin at zope.org
Tue Nov 18 08:17:50 EST 2003


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

Modified Files:
	select_trigger.py 
Log Message:
 - Merge tseaver-strexp_delenda-branch to the head.


=== Zope/lib/python/ZServer/medusa/thread/select_trigger.py 1.6 => 1.7 ===
--- 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	Tue Nov 18 08:17:19 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