[Zope-Checkins] SVN: Zope/trunk/lib/python/ZServer/datatypes.py Provide a default for fast_listen, if not available

Andreas Jung andreas at andreas-jung.com
Sat Sep 2 12:04:49 EDT 2006


Log message for revision 69937:
  Provide a default for fast_listen, if not available
  

Changed:
  U   Zope/trunk/lib/python/ZServer/datatypes.py

-=-
Modified: Zope/trunk/lib/python/ZServer/datatypes.py
===================================================================
--- Zope/trunk/lib/python/ZServer/datatypes.py	2006-09-02 15:52:40 UTC (rev 69936)
+++ Zope/trunk/lib/python/ZServer/datatypes.py	2006-09-02 16:04:48 UTC (rev 69937)
@@ -70,7 +70,7 @@
         self.force_connection_close = section.force_connection_close
         # webdav-source-server sections won't have webdav_source_clients:
         webdav_clients = getattr(section, "webdav_source_clients", None)
-        self.fast_listen = getattr(section, 'fast_listen')
+        self.fast_listen = getattr(section, 'fast_listen', True)
         self.webdav_source_clients = webdav_clients
         self.use_wsgi = section.use_wsgi
 



More information about the Zope-Checkins mailing list