[CMF-checkins] CVS: Products/CMFDefault - File.py:1.30 Image.py:1.29
Stefan H. Holek
stefan at epy.co.at
Sat Aug 7 14:21:37 EDT 2004
Update of /cvs-repository/Products/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv10215/CMFDefault
Modified Files:
File.py Image.py
Log Message:
- Wrote tests for http://www.zope.org/Collectors/CMF/176
- Applied the same fix to CMFDefault.File.
=== Products/CMFDefault/File.py 1.29 => 1.30 ===
--- Products/CMFDefault/File.py:1.29 Sat Jul 31 10:29:52 2004
+++ Products/CMFDefault/File.py Sat Aug 7 14:21:07 2004
@@ -173,6 +173,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.28 => 1.29 ===
--- Products/CMFDefault/Image.py:1.28 Fri Aug 6 07:32:12 2004
+++ Products/CMFDefault/Image.py Sat Aug 7 14:21:07 2004
@@ -165,17 +165,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