[CMF-checkins] CVS: Products/CMFDefault - File.py:1.25.4.4 Image.py:1.23.4.5

Stefan H. Holek stefan at epy.co.at
Sat Aug 7 15:24:40 EDT 2004


Update of /cvs-repository/Products/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv26693/CMFDefault

Modified Files:
      Tag: CMF-1_4-branch
	File.py Image.py 
Log Message:
- Added test for http://www.zope.org/Collectors/CMF/176
- Applied same fix to File.



=== Products/CMFDefault/File.py 1.25.4.3 => 1.25.4.4 ===
--- Products/CMFDefault/File.py:1.25.4.3	Tue Jul 27 17:35:15 2004
+++ Products/CMFDefault/File.py	Sat Aug  7 15:24:09 2004
@@ -171,6 +171,12 @@
         OFS.Image.File.manage_afterAdd(self, item, container)
         PortalContent.manage_afterAdd(self, item, container)
 
+    security.declarePrivate('manage_afterClone')
+    def manage_afterClone(self, item):
+        """Both of my parents have an afterClone method"""
+        OFS.Image.File.manage_afterClone(self, item)
+        PortalContent.manage_afterClone(self, item)
+
     security.declarePrivate('manage_beforeDelete')
     def manage_beforeDelete(self, item, container):
         """Both of my parents have a beforeDelete method"""


=== Products/CMFDefault/Image.py 1.23.4.4 => 1.23.4.5 ===
--- Products/CMFDefault/Image.py:1.23.4.4	Fri Aug  6 07:32:45 2004
+++ Products/CMFDefault/Image.py	Sat Aug  7 15:24:09 2004
@@ -163,17 +163,17 @@
         OFS.Image.Image.manage_afterAdd(self, item, container)
         PortalContent.manage_afterAdd(self, item, container)
 
+    security.declarePrivate('manage_afterClone')
+    def manage_afterClone(self, item):
+        """Both of my parents have an afterClone method"""
+        OFS.Image.Image.manage_afterClone(self, item)
+        PortalContent.manage_afterClone(self, item)
+
     security.declarePrivate('manage_beforeDelete')
     def manage_beforeDelete(self, item, container):
         """Both of my parents have a beforeDelete method"""
         PortalContent.manage_beforeDelete(self, item, container)
         OFS.Image.Image.manage_beforeDelete(self, item, container)
-
-    security.declarePrivate('manage_afterClone')
-    def manage_afterClone(self, item):
-        """Both of my parents have an afterClone method"""
-        PortalContent.manage_afterClone(self, item)
-        OFS.Image.Image.manage_afterClone(self, item)
 
     security.declarePrivate('_isNotEmpty')
     def _isNotEmpty(self, file):



More information about the CMF-checkins mailing list