[Zope-Checkins] SVN: Products.Five/branches/1.0/eventconfigure.py
	Fix typo, which prevents handling of manage_beforeDelete operations
    Janko Hauser 
    jhauser at zscout.de
       
    Sat Mar 25 12:22:54 EST 2006
    
    
  
Log message for revision 66163:
  Fix typo, which prevents handling of manage_beforeDelete operations
Changed:
  U   Products.Five/branches/1.0/eventconfigure.py
-=-
Modified: Products.Five/branches/1.0/eventconfigure.py
===================================================================
--- Products.Five/branches/1.0/eventconfigure.py	2006-03-25 15:57:20 UTC (rev 66162)
+++ Products.Five/branches/1.0/eventconfigure.py	2006-03-25 17:22:53 UTC (rev 66163)
@@ -76,9 +76,9 @@
 def manage_beforeDelete(self, item, container):
     notify(ObjectRemovedEvent(self))
     # call original
-    method = getattr(self, '__five_manage_beforeDelete', None)
+    method = getattr(self, '__five_original_manage_beforeDelete', None)
     if method is not None:
-        self._five_original_manage_beforeDelete(item, container)
+        self.__five_original_manage_beforeDelete(item, container)
 
 manage_beforeDelete.__five_method__ = True
 
    
    
More information about the Zope-Checkins
mailing list