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
55aea706
Commit
55aea706
authored
May 23, 2001
by
Evan Simpson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix old-style Product init.
parent
e51c2a5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lib/python/OFS/Application.py
lib/python/OFS/Application.py
+4
-4
No files found.
lib/python/OFS/Application.py
View file @
55aea706
...
...
@@ -85,8 +85,8 @@
__doc__
=
'''Application support
$Id: Application.py,v 1.14
7 2001/05/23 19:08:16 bri
an Exp $'''
__version__
=
'$Revision: 1.14
7
$'
[
11
:
-
2
]
$Id: Application.py,v 1.14
8 2001/05/23 19:31:36 ev
an Exp $'''
__version__
=
'$Revision: 1.14
8
$'
[
11
:
-
2
]
import
Globals
,
Folder
,
os
,
sys
,
App
.
Product
,
App
.
ProductRegistry
,
misc_
import
time
,
traceback
,
os
,
string
,
Products
...
...
@@ -674,8 +674,8 @@ def install_product(app, product_dir, product_name, meta_types,
for
name
,
method
in
pgetattr
(
product
,
'methods'
,
{}).
items
():
if
not
hasattr
(
Folder
,
name
):
setattr
(
Folder
,
name
,
method
)
if
not
hasattr
(
Folder
.
Folder
,
name
):
setattr
(
Folder
.
Folder
,
name
,
method
)
if
name
[
-
9
:]
!=
'__roles__'
:
# not Just setting roles
if
(
permissions
.
has_key
(
name
)
and
not
folder_permissions
.
has_key
(
...
...
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