Commit c12e5349 authored by 's avatar

Fixed leftover '__call__' in permission structure

parent 81934715
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
############################################################################## ##############################################################################
"""Image object""" """Image object"""
__version__='$Revision: 1.115 $'[11:-2] __version__='$Revision: 1.116 $'[11:-2]
import Globals, string, struct, content_types import Globals, string, struct, content_types
from OFS.content_types import guess_content_type from OFS.content_types import guess_content_type
...@@ -166,7 +166,7 @@ class File(Persistent,Implicit,PropertyManager, ...@@ -166,7 +166,7 @@ class File(Persistent,Implicit,PropertyManager,
('manage_edit','manage_upload','PUT')), ('manage_edit','manage_upload','PUT')),
('View', ('View',
('index_html', 'view_image_or_file', 'get_size', ('index_html', 'view_image_or_file', 'get_size',
'getContentType', '__call__', '')), 'getContentType', '')),
('FTP access', ('FTP access',
('manage_FTPstat','manage_FTPget','manage_FTPlist')), ('manage_FTPstat','manage_FTPget','manage_FTPlist')),
('Delete objects', ('Delete objects',
...@@ -447,7 +447,7 @@ class Image(File): ...@@ -447,7 +447,7 @@ class Image(File):
('manage_edit','manage_upload','PUT')), ('manage_edit','manage_upload','PUT')),
('View', ('View',
('index_html', 'tag', 'view_image_or_file', 'get_size', ('index_html', 'tag', 'view_image_or_file', 'get_size',
'getContentType', '__call__', '')), 'getContentType', '')),
('FTP access', ('FTP access',
('manage_FTPstat','manage_FTPget','manage_FTPlist')), ('manage_FTPstat','manage_FTPget','manage_FTPlist')),
('Delete objects', ('Delete objects',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment