projects
/
Photo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
luxia--
[Photo.git]
/
blobbases.py
diff --git
a/blobbases.py
b/blobbases.py
index
c0084c3
..
964ffe3
100755
(executable)
--- 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 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
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)
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."
if REQUEST:
message="Saved changes."