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
e4f23215
Commit
e4f23215
authored
Apr 18, 2000
by
Amos Latteier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed how ProductHelp titles are generated. Fixed a small bug in Product initialization.
parent
8d17ff99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/python/App/Product.py
lib/python/App/Product.py
+3
-3
No files found.
lib/python/App/Product.py
View file @
e4f23215
...
...
@@ -226,7 +226,7 @@ class Product(Folder, PermissionManager):
def
__init__
(
self
,
id
,
title
):
self
.
id
=
id
self
.
title
=
title
self
.
_setObject
(
'Help'
,
ProductHelp
(
'Help'
,
'%s Help'
%
id
))
self
.
_setObject
(
'Help'
,
ProductHelp
(
'Help'
,
id
))
def
Destination
(
self
):
"Return the destination for factory output"
...
...
@@ -341,7 +341,7 @@ class Product(Folder, PermissionManager):
with the Product.
"""
if
not
hasattr
(
self
,
'Help'
):
self
.
_setObject
(
'Help'
,
ProductHelp
(
'Help'
,
'%s Help'
%
self
.
id
))
self
.
_setObject
(
'Help'
,
ProductHelp
(
'Help'
,
self
.
id
))
return
self
.
Help
class
CompressedOutputFile
:
...
...
@@ -445,7 +445,7 @@ def initializeProduct(productp, name, home, app):
if
old
is
not
None
:
app
.
_manage_remove_product_meta_type
(
product
)
products
.
_delObject
(
name
)
for
id
,
v
in
old
.
object
Value
s
():
for
id
,
v
in
old
.
object
Item
s
():
try
:
product
.
_setObject
(
id
,
v
)
except
:
pass
...
...
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