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
46b57e43
Commit
46b57e43
authored
Apr 12, 2002
by
Brian Lloyd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix theoretical bug 213.
parent
6421c26b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
lib/python/OFS/Application.py
lib/python/OFS/Application.py
+5
-5
No files found.
lib/python/OFS/Application.py
View file @
46b57e43
...
...
@@ -12,8 +12,8 @@
##############################################################################
__doc__
=
'''Application support
$Id: Application.py,v 1.18
2 2002/03/27 22:18:54 casem
an Exp $'''
__version__
=
'$Revision: 1.18
2
$'
[
11
:
-
2
]
$Id: Application.py,v 1.18
3 2002/04/12 16:06:01 Bri
an Exp $'''
__version__
=
'$Revision: 1.18
3
$'
[
11
:
-
2
]
import
Globals
,
Folder
,
os
,
sys
,
App
.
Product
,
App
.
ProductRegistry
,
misc_
import
time
,
traceback
,
os
,
Products
...
...
@@ -243,9 +243,6 @@ class Expired(Globals.Persistent):
def
initialize
(
app
):
# Initialize the application
# Initialize the cache:
app
.
Control_Panel
.
initialize_cache
()
# The following items marked b/c are backward compatibility hacks
# which make sure that expected system objects are added to the
# bobobase. This is required because the bobobase in use may pre-
...
...
@@ -260,6 +257,9 @@ def initialize(app):
get_transaction
().
note
(
'Added Control_Panel'
)
get_transaction
().
commit
()
# Initialize the cache:
app
.
Control_Panel
.
initialize_cache
()
# b/c: Ensure that a ProductFolder exists.
if
not
hasattr
(
app
.
Control_Panel
.
aq_base
,
'Products'
):
app
.
Control_Panel
.
Products
=
App
.
Product
.
ProductFolder
()
...
...
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