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
8d03bde6
Commit
8d03bde6
authored
Jan 08, 1998
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified __class_init__ to use default class init defined in Globals.
parent
3867d322
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
+14
-6
lib/python/OFS/Application.py
lib/python/OFS/Application.py
+6
-3
lib/python/OFS/ObjectManager.py
lib/python/OFS/ObjectManager.py
+8
-3
No files found.
lib/python/OFS/Application.py
View file @
8d03bde6
...
...
@@ -11,8 +11,8 @@
__doc__
=
'''Application support
$Id: Application.py,v 1.3
5 1998/01/02 17:39:48
jim Exp $'''
__version__
=
'$Revision: 1.3
5
$'
[
11
:
-
2
]
$Id: Application.py,v 1.3
6 1998/01/08 17:40:21
jim Exp $'''
__version__
=
'$Revision: 1.3
6
$'
[
11
:
-
2
]
import
Globals
,
Folder
,
os
,
regex
,
sys
...
...
@@ -103,7 +103,7 @@ class Application(Folder.Folder):
def
folderClass
(
self
):
return
Folder
.
Folder
def
__class_init__
(
self
):
pass
def
__class_init__
(
self
):
Globals
.
default__class_init__
(
self
)
def
PrincipiaRedirect
(
self
,
destination
,
URL1
):
"""Utility function to allow user-controlled redirects"""
...
...
@@ -283,6 +283,9 @@ class Misc_:
##############################################################################
#
# $Log: Application.py,v $
# Revision 1.36 1998/01/08 17:40:21 jim
# Modified __class_init__ to use default class init defined in Globals.
#
# Revision 1.35 1998/01/02 17:39:48 jim
# Got rid of old commented line.
#
...
...
lib/python/OFS/ObjectManager.py
View file @
8d03bde6
__doc__
=
"""Object Manager
$Id: ObjectManager.py,v 1.3
0 1998/01/02 18:45:06
jim Exp $"""
$Id: ObjectManager.py,v 1.3
1 1998/01/08 17:40:42
jim Exp $"""
__version__
=
'$Revision: 1.3
0
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.3
1
$'
[
11
:
-
2
]
import
Persistence
,
App
.
Management
,
Acquisition
,
App
.
Undo
from
Globals
import
HTMLFile
,
HTMLFile
from
Globals
import
MessageDialog
from
Globals
import
MessageDialog
,
default__class_init__
from
string
import
find
,
join
,
lower
from
urllib
import
quote
from
DocumentTemplate
import
html_quote
...
...
@@ -61,6 +61,8 @@ class ObjectManager(
mt
.
sort
()
self
.
meta_types
=
tuple
(
mt
)
default__class_init__
(
self
)
def
all_meta_types
(
self
):
return
self
.
meta_types
+
self
.
dynamic_meta_types
...
...
@@ -458,6 +460,9 @@ class ObjectManager(
##############################################################################
#
# $Log: ObjectManager.py,v $
# Revision 1.31 1998/01/08 17:40:42 jim
# Modified __class_init__ to use default class init defined in Globals.
#
# Revision 1.30 1998/01/02 18:45:06 jim
# Ooops, want implicit acquisition.
#
...
...
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