X-Git-Url: https://scm.cri.mines-paristech.fr/git/Photo.git/blobdiff_plain/2ad7c649b30366754569fbdbb92504fcb0bab1bf..refs/heads/zope-2.12:/blobbases.py?ds=inline 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."