[Zope3-checkins] CVS: Zope3/src/zope/app/event - __init__.py:1.1.2.2 globaleventservice.py:1.1.2.2 metaconfigure.py:1.1.2.2 objectevent.py:1.1.2.3

Tim Peters tim.one@comcast.net
Tue, 24 Dec 2002 21:21:27 -0500


Update of /cvs-repository/Zope3/src/zope/app/event
In directory cvs.zope.org:/tmp/cvs-serv19240/src/zope/app/event

Modified Files:
      Tag: NameGeddon-branch
	__init__.py globaleventservice.py metaconfigure.py 
	objectevent.py 
Log Message:
Whitespace normalization, via Python's Tools/scripts/reindent.py.  The
files are fixed-points of that script now.  Fixed a few cases where
code relied on significant trailing whitespace (ouch).


=== Zope3/src/zope/app/event/__init__.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/event/__init__.py:1.1.2.1	Mon Dec 23 14:31:34 2002
+++ Zope3/src/zope/app/event/__init__.py	Tue Dec 24 21:20:27 2002
@@ -2,14 +2,14 @@
 #
 # Copyright (c) 2002 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.
-# 
+#
 ##############################################################################
 """
 


=== Zope3/src/zope/app/event/globaleventservice.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/event/globaleventservice.py:1.1.2.1	Mon Dec 23 14:31:34 2002
+++ Zope3/src/zope/app/event/globaleventservice.py	Tue Dec 24 21:20:27 2002
@@ -2,14 +2,14 @@
 #
 # Copyright (c) 2001, 2002 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.
-# 
+#
 ##############################################################################
 """
 
@@ -21,7 +21,7 @@
 from zope.event.subscribable import Subscribable
 
 class GlobalEventService(Subscribable):
-    
+
     __implements__ = IGlobalEventService
 
     def globalSubscribe(self, *args, **kw):
@@ -33,13 +33,13 @@
             "GlobalEventService. Use the 'globalSubscribe' method instead.")
 
     def publish(self, event):
-        
+
         for subscriptions in self.subscriptionsForEvent(event):
             for subscriber, filter in subscriptions:
                 if filter is not None and not filter(event):
                     continue
                 subscriber.notify(event)
-    
+
 
 eventService = GlobalEventService()
 


=== Zope3/src/zope/app/event/metaconfigure.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/event/metaconfigure.py:1.1.2.1	Mon Dec 23 14:31:34 2002
+++ Zope3/src/zope/app/event/metaconfigure.py	Tue Dec 24 21:20:27 2002
@@ -2,14 +2,14 @@
 #
 # Copyright (c) 2001, 2002 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.
-# 
+#
 ##############################################################################
 """
 
@@ -35,7 +35,7 @@
     event_types=[]
     for event_type_name in event_type_names.split():
         event_types.append(_context.resolve(event_type_name))
-                        
+
     if filter is not None:
         filter = _context.resolve(filter)
 
@@ -51,5 +51,5 @@
             callable = globalSubscribeMany,
             args = ('Interfaces', 'provideInterface',
                     type.__module__+'.'+type.__name__, type)
-              )      
+              )
         ]


=== Zope3/src/zope/app/event/objectevent.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/event/objectevent.py:1.1.2.2	Mon Dec 23 18:12:29 2002
+++ Zope3/src/zope/app/event/objectevent.py	Tue Dec 24 21:20:27 2002
@@ -2,14 +2,14 @@
 #
 # Copyright (c) 2001, 2002 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.
-# 
+#
 ##############################################################################
 """Object lifetime events.