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
62cdf622
Commit
62cdf622
authored
Mar 20, 2000
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cause factories to acquire _getOb. This is needed for the ZClass
createInObjectManager. There is probably a better solution.
parent
6afaa83e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/python/App/Factory.py
lib/python/App/Factory.py
+3
-3
No files found.
lib/python/App/Factory.py
View file @
62cdf622
...
...
@@ -84,8 +84,8 @@
##############################################################################
__doc__
=
'''Factory objects
$Id: Factory.py,v 1.1
5 2000/01/10 20:21:11 amos
Exp $'''
__version__
=
'$Revision: 1.1
5
$'
[
11
:
-
2
]
$Id: Factory.py,v 1.1
6 2000/03/20 16:24:07 jim
Exp $'''
__version__
=
'$Revision: 1.1
6
$'
[
11
:
-
2
]
import
OFS.SimpleItem
,
Acquisition
,
Globals
,
AccessControl
.
Role
import
Products
,
Product
...
...
@@ -100,7 +100,7 @@ class Factory(
permission
=
''
# Waaaa
_setObject
=
Acquisition
.
Acquired
_setObject
=
_getOb
=
Acquisition
.
Acquired
__ac_permissions__
=
(
(
'Edit Factories'
,
(
'manage_edit'
,
'manage_main'
)),
...
...
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