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
f2c505d6
Commit
f2c505d6
authored
Jun 01, 2001
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed problem when INSTANCE_HOME is set. We tried to import
PluginIndexes as first product in any case. (Collector #2273)
parent
bcdde440
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
lib/python/OFS/Application.py
lib/python/OFS/Application.py
+8
-7
No files found.
lib/python/OFS/Application.py
View file @
f2c505d6
...
...
@@ -84,8 +84,8 @@
##############################################################################
__doc__
=
'''Application support
$Id: Application.py,v 1.1
49 2001/05/30 15:57:31
andreas Exp $'''
__version__
=
'$Revision: 1.1
49
$'
[
11
:
-
2
]
$Id: Application.py,v 1.1
50 2001/06/01 19:51:16
andreas Exp $'''
__version__
=
'$Revision: 1.1
50
$'
[
11
:
-
2
]
import
Globals
,
Folder
,
os
,
sys
,
App
.
Product
,
App
.
ProductRegistry
,
misc_
import
time
,
traceback
,
os
,
string
,
Products
...
...
@@ -514,8 +514,9 @@ def import_products():
# We must initialize the PluginIndexes first before
# all other products (ajung)
product_names
.
remove
(
"PluginIndexes"
)
product_names
.
insert
(
0
,
"PluginIndexes"
)
if
"PluginIndexes"
in
product_names
:
product_names
.
remove
(
"PluginIndexes"
)
product_names
.
insert
(
0
,
"PluginIndexes"
)
for
product_name
in
product_names
:
...
...
@@ -586,9 +587,9 @@ def install_products(app):
# We must initialize the PluginIndexes first before
# all other products (ajung)
product_names
.
remove
(
"PluginIndexes"
)
product_names
.
insert
(
0
,
"PluginIndexes"
)
if
"PluginIndexes"
in
product_names
:
product_names
.
remove
(
"PluginIndexes"
)
product_names
.
insert
(
0
,
"PluginIndexes"
)
for
product_name
in
product_names
:
# For each product, we will import it and try to call the
...
...
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