[Zope-Checkins] CVS: Zope/ZServer/PubCore - ZEvent.py:1.10 ZRendezvous.py:1.8 ZServerPublisher.py:1.7 __init__.py:1.6

Martijn Pieters mj@zope.com
Wed, 14 Aug 2002 17:16:51 -0400


Update of /cvs-repository/Zope/ZServer/PubCore
In directory cvs.zope.org:/tmp/cvs-serv7904/PubCore

Modified Files:
	ZEvent.py ZRendezvous.py ZServerPublisher.py __init__.py 
Log Message:
Clean up indentation and trailing whitespace.


=== Zope/ZServer/PubCore/ZEvent.py 1.9 => 1.10 ===
--- Zope/ZServer/PubCore/ZEvent.py:1.9	Tue Jun 11 18:22:06 2002
+++ Zope/ZServer/PubCore/ZEvent.py	Wed Aug 14 17:16:50 2002
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 
 """Simple Event Manager Based on Pipes
@@ -31,8 +31,7 @@
         # this broken pipe as a result of perhaps a signal
         # we want to handle this gracefully so we get rid of the old
         # trigger and install a new one.
-        if why[0] == 32: 
+        if why[0] == 32:
             del socket_map[the_trigger._fileno]
             the_trigger = simple_trigger() # adds itself back into socket_map
             the_trigger.pull_trigger(thunk)
-


=== Zope/ZServer/PubCore/ZRendezvous.py 1.7 => 1.8 ===
--- Zope/ZServer/PubCore/ZRendezvous.py:1.7	Wed Nov 28 10:50:50 2001
+++ Zope/ZServer/PubCore/ZRendezvous.py	Wed Aug 14 17:16:50 2002
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 
 import thread


=== Zope/ZServer/PubCore/ZServerPublisher.py 1.6 => 1.7 ===
--- Zope/ZServer/PubCore/ZServerPublisher.py:1.6	Wed Nov 28 10:50:50 2001
+++ Zope/ZServer/PubCore/ZServerPublisher.py	Wed Aug 14 17:16:50 2002
@@ -1,26 +1,26 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 from ZPublisher import publish_module
 
 class ZServerPublisher:
     def __init__(self, accept):
-       while 1:
-           try:
-               name, request, response=accept()
-               publish_module(
-                   name,
-                   request=request,
-                   response=response)
-           finally:
-               response._finish()
-               request=response=None
+        while 1:
+            try:
+                name, request, response=accept()
+                publish_module(
+                    name,
+                    request=request,
+                    response=response)
+            finally:
+                response._finish()
+                request=response=None


=== Zope/ZServer/PubCore/__init__.py 1.5 => 1.6 ===
--- Zope/ZServer/PubCore/__init__.py:1.5	Wed Nov 28 10:50:50 2001
+++ Zope/ZServer/PubCore/__init__.py	Wed Aug 14 17:16:50 2002
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 
 import ZRendezvous