[Zope-Checkins] CVS: Zope3/lib/python/Zope/Event - EventChannel.py:1.1.2.4

Chris Withers chrisw@nipltd.com
Sat, 2 Mar 2002 13:10:38 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/Event
In directory cvs.zope.org:/tmp/cvs-serv31420

Modified Files:
      Tag: Zope-3x-branch
	EventChannel.py 
Log Message:
Comment to remind of ickyness which Steve promises is temporary ;-)

=== Zope3/lib/python/Zope/Event/EventChannel.py 1.1.2.3 => 1.1.2.4 ===
     def subscribe(self, subscriber, event_types=(None,), filter=None):
     
+        # ICK!
+        # Why polute the base event channel with persistence stuff?
+        # XXX please make this go away ASAP ;-)
         self._p_changed = 1
         
         subs = self._subscribers
@@ -58,6 +61,9 @@
         except KeyError:
             raise NotFoundError, subscriber
             
+        # ICK!
+        # Why polute the base event channel with persistence stuff?
+        # XXX please make this go away ASAP ;-)
         self._p_changed = 1
         
         for event_type in subs_set: