[z3-checkins] r10337 - z3/Five/trunk

philikon at codespeak.net philikon at codespeak.net
Tue Apr 5 18:01:21 MEST 2005


Author: philikon
Date: Tue Apr  5 18:01:21 2005
New Revision: 10337

Modified:
   z3/Five/trunk/eventconfigure.py
Log:
True instead of None has a better semantic value; it's irrelevant for
the functionality of the code


Modified: z3/Five/trunk/eventconfigure.py
==============================================================================
--- z3/Five/trunk/eventconfigure.py	(original)
+++ z3/Five/trunk/eventconfigure.py	Tue Apr  5 18:01:21 2005
@@ -67,7 +67,7 @@
     if method is not None:
         self.__five_original_manage_afterAdd(item, container)
 
-manage_afterAdd.__five_method__ = None
+manage_afterAdd.__five_method__ = True
 
 def manage_beforeDelete(self, item, container):
     notify(ObjectRemovedEvent(self))
@@ -76,7 +76,7 @@
     if method is not None:
         self._five_original_manage_beforeDelete(item, container)
 
-manage_beforeDelete.__five_method__ = None
+manage_beforeDelete.__five_method__ = True
 
 def classSendEvents(class_):
     """Make instances of the class send Object*Event.


More information about the z3-checkins mailing list