[Zope-Checkins] CVS: Zope/lib/python/ZServer/medusa/thread -
select_trigger.py:1.6.30.1
Tres Seaver
cvs-admin at zope.org
Mon Nov 17 17:10:41 EST 2003
Update of /cvs-repository/Zope/lib/python/ZServer/medusa/thread
In directory cvs.zope.org:/tmp/cvs-serv12097/lib/python/ZServer/medusa/thread
Modified Files:
Tag: tseaver-strexp_delenda-branch
select_trigger.py
Log Message:
- Rip string exceptins out by the root.
- webdav/*: clean up block statements for readability.
- XXX: Redirects are now showing up in the error log object; need
to filter!
=== Zope/lib/python/ZServer/medusa/thread/select_trigger.py 1.6 => 1.6.30.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:10:10 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