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
184e7ae7
Commit
184e7ae7
authored
Feb 05, 1998
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added call to class initilizer
parent
dc72b463
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
lib/python/OFS/Document.py
lib/python/OFS/Document.py
+3
-2
lib/python/OFS/Image.py
lib/python/OFS/Image.py
+6
-1
No files found.
lib/python/OFS/Document.py
View file @
184e7ae7
"""Document object"""
__version__
=
'$Revision: 1.4
1
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.4
2
$'
[
11
:
-
2
]
from
Globals
import
HTML
,
HTMLFile
,
MessageDialog
from
string
import
join
,
split
,
strip
,
rfind
,
atoi
from
AccessControl.Role
import
RoleManager
from
SimpleItem
import
Item_w__name__
from
Acquisition
import
Explicit
import
regex
import
regex
,
Globals
class
Document
(
HTML
,
Explicit
,
RoleManager
,
Item_w__name__
):
...
...
@@ -160,6 +160,7 @@ class DocumentHandler:
t
.
append
((
n
,
getattr
(
self
,
n
)))
return
t
Globals
.
default__class_init__
(
DocumentHandler
)
def
decapitate
(
html
,
RESPONSE
=
None
,
...
...
lib/python/OFS/Image.py
View file @
184e7ae7
"""Image object"""
__version__
=
'$Revision: 1.2
5
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.2
6
$'
[
11
:
-
2
]
import
Globals
from
Globals
import
HTMLFile
,
MessageDialog
from
AccessControl.Role
import
RoleManager
from
SimpleItem
import
Item_w__name__
...
...
@@ -166,3 +167,7 @@ class ImageHandler:
n
=
i
[
'id'
]
t
.
append
((
n
,
getattr
(
self
,
n
)))
return
t
Globals
.
default__class_init__
(
ImageHandler
)
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