[CMF-checkins] SVN: CMF_Extras/trunk/CMFCollector/CollectorIssue.py
Handle notified appropriately.
Tres Seaver
tseaver at palladion.com
Tue May 22 14:45:31 EDT 2007
Log message for revision 75896:
Handle notified appropriately.
Changed:
U CMF_Extras/trunk/CMFCollector/CollectorIssue.py
-=-
Modified: CMF_Extras/trunk/CMFCollector/CollectorIssue.py
===================================================================
--- CMF_Extras/trunk/CMFCollector/CollectorIssue.py 2007-05-22 18:41:37 UTC (rev 75895)
+++ CMF_Extras/trunk/CMFCollector/CollectorIssue.py 2007-05-22 18:45:30 UTC (rev 75896)
@@ -764,6 +764,15 @@
if hasattr(self, 'notifyModified'):
self.notifyModified()
+ security.declarePrivate('notifyModified')
+ def notifyModified(self):
+ """ Take appropriate action after the resource has been modified.
+
+ Update creators and modification_date.
+ """
+ self.addCreator()
+ self.setModificationDate()
+
def __len__(self):
"""Number of uploaded artifacts (ie, excluding transcript)."""
return len(self.objectIds()) - 1
More information about the CMF-checkins
mailing list