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
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."