X-Git-Url: https://svn.cri.ensmp.fr/git/Photo.git/blobdiff_plain/2ad7c649b30366754569fbdbb92504fcb0bab1bf..b0a7e10b4f32cf74864bb53268ca4d3080f23bc0:/blobbases.py diff --git a/blobbases.py b/blobbases.py index c0084c3..964ffe3 100755 --- a/blobbases.py +++ b/blobbases.py @@ -20,6 +20,7 @@ from cgi import escape from cStringIO import StringIO from mimetools import choose_boundary import struct +from warnings import warn from AccessControl.Permissions import change_images_and_files from AccessControl.Permissions import view_management_screens @@ -487,6 +488,7 @@ class File(Persistent, Implicit, PropertyManager, content_type=self._get_content_type(file, self.__name__, 'application/octet-stream') self.update_data(file, content_type) + notify(ObjectModifiedEvent(self)) if REQUEST: message="Saved changes."