Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
9c890930
Commit
9c890930
authored
Mar 28, 2000
by
Michel Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed interfaces
parent
55f5a9f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
11 deletions
+3
-11
lib/python/OFS/Folder.py
lib/python/OFS/Folder.py
+2
-6
lib/python/OFS/Image.py
lib/python/OFS/Image.py
+1
-5
No files found.
lib/python/OFS/Folder.py
View file @
9c890930
...
@@ -87,9 +87,9 @@
...
@@ -87,9 +87,9 @@
Folders are the basic container objects and are analogous to directories.
Folders are the basic container objects and are analogous to directories.
$Id: Folder.py,v 1.8
5 2000/03/13 21:36:02
michel Exp $"""
$Id: Folder.py,v 1.8
6 2000/03/28 16:58:55
michel Exp $"""
__version__
=
'$Revision: 1.8
5
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.8
6
$'
[
11
:
-
2
]
import
Globals
,
SimpleItem
import
Globals
,
SimpleItem
from
ObjectManager
import
ObjectManager
from
ObjectManager
import
ObjectManager
...
@@ -99,8 +99,6 @@ from webdav.Collection import Collection
...
@@ -99,8 +99,6 @@ from webdav.Collection import Collection
from
FindSupport
import
FindSupport
from
FindSupport
import
FindSupport
from
Globals
import
HTMLFile
from
Globals
import
HTMLFile
from
FolderInterface
import
FolderInterface
manage_addFolderForm
=
HTMLFile
(
'folderAdd'
,
globals
())
manage_addFolderForm
=
HTMLFile
(
'folderAdd'
,
globals
())
...
@@ -148,8 +146,6 @@ class Folder(ObjectManager, PropertyManager, RoleManager, Collection,
...
@@ -148,8 +146,6 @@ class Folder(ObjectManager, PropertyManager, RoleManager, Collection,
"""
"""
meta_type
=
'Folder'
meta_type
=
'Folder'
__implements__
=
(
FolderInterface
,)
_properties
=
({
'id'
:
'title'
,
'type'
:
'string'
},)
_properties
=
({
'id'
:
'title'
,
'type'
:
'string'
},)
manage_options
=
(
manage_options
=
(
...
...
lib/python/OFS/Image.py
View file @
9c890930
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
##############################################################################
##############################################################################
"""Image object"""
"""Image object"""
__version__
=
'$Revision: 1.9
8
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.9
9
$'
[
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
...
@@ -98,8 +98,6 @@ from Globals import Persistent
...
@@ -98,8 +98,6 @@ from Globals import Persistent
from
Acquisition
import
Implicit
from
Acquisition
import
Implicit
from
DateTime
import
DateTime
from
DateTime
import
DateTime
from
FileInterface
import
FileInterface
from
ImageInterface
import
ImageInterface
StringType
=
type
(
''
)
StringType
=
type
(
''
)
...
@@ -131,7 +129,6 @@ class File(Persistent,Implicit,PropertyManager,
...
@@ -131,7 +129,6 @@ class File(Persistent,Implicit,PropertyManager,
meta_type
=
'File'
meta_type
=
'File'
__implements__
=
(
FileInterface
,)
precondition
=
''
precondition
=
''
size
=
None
size
=
None
...
@@ -414,7 +411,6 @@ class Image(File):
...
@@ -414,7 +411,6 @@ class Image(File):
"""
"""
meta_type
=
'Image'
meta_type
=
'Image'
__implements__
=
(
ImageInterface
,)
height
=
''
height
=
''
width
=
''
width
=
''
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment