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
935c41c4
Commit
935c41c4
authored
May 17, 2001
by
Shane Hathaway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't reinstall products more than once per call to reinstall_product().
parent
d8eaafb3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lib/python/OFS/Application.py
lib/python/OFS/Application.py
+3
-2
No files found.
lib/python/OFS/Application.py
View file @
935c41c4
...
@@ -85,8 +85,8 @@
...
@@ -85,8 +85,8 @@
__doc__
=
'''Application support
__doc__
=
'''Application support
$Id: Application.py,v 1.14
4 2001/05/17 18:35:09
shane Exp $'''
$Id: Application.py,v 1.14
5 2001/05/17 18:37:40
shane Exp $'''
__version__
=
'$Revision: 1.14
4
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.14
5
$'
[
11
:
-
2
]
import
Globals
,
Folder
,
os
,
sys
,
App
.
Product
,
App
.
ProductRegistry
,
misc_
import
Globals
,
Folder
,
os
,
sys
,
App
.
Product
,
App
.
ProductRegistry
,
misc_
import
time
,
traceback
,
os
,
string
,
Products
import
time
,
traceback
,
os
,
string
,
Products
...
@@ -719,6 +719,7 @@ def reinstall_product(app, product_name):
...
@@ -719,6 +719,7 @@ def reinstall_product(app, product_name):
removeProductMetaTypes
(
product_name
)
removeProductMetaTypes
(
product_name
)
install_product
(
app
,
product_dir
,
product_name
,
meta_types
,
install_product
(
app
,
product_dir
,
product_name
,
meta_types
,
folder_permissions
,
raise_exc
=
1
,
log_exc
=
0
)
folder_permissions
,
raise_exc
=
1
,
log_exc
=
0
)
break
Products
.
meta_types
=
Products
.
meta_types
+
tuple
(
meta_types
)
Products
.
meta_types
=
Products
.
meta_types
+
tuple
(
meta_types
)
Globals
.
default__class_init__
(
Folder
.
Folder
)
Globals
.
default__class_init__
(
Folder
.
Folder
)
...
...
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