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
d52fc21d
Commit
d52fc21d
authored
Jan 19, 2001
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merged from 2.3
parent
78e22a4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
lib/python/OFS/Application.py
lib/python/OFS/Application.py
+9
-2
No files found.
lib/python/OFS/Application.py
View file @
d52fc21d
...
...
@@ -85,8 +85,8 @@
__doc__
=
'''Application support
$Id: Application.py,v 1.13
8 2001/01/19 20:12:21
brian Exp $'''
__version__
=
'$Revision: 1.13
8
$'
[
11
:
-
2
]
$Id: Application.py,v 1.13
9 2001/01/19 20:19:36
brian Exp $'''
__version__
=
'$Revision: 1.13
9
$'
[
11
:
-
2
]
import
Globals
,
Folder
,
os
,
sys
,
App
.
Product
,
App
.
ProductRegistry
,
misc_
import
time
,
traceback
,
os
,
string
,
Products
...
...
@@ -442,11 +442,17 @@ def initialize(app):
install_products
(
app
)
# Note that the code from here on only runs if we are not a ZEO
# client.
if
os
.
environ
.
get
(
'ZEO_CLIENT'
,
''
):
return
# Check for dangling pointers (broken zclass dependencies) in the
# global class registry. If found, rebuild the registry. Note that
# if the check finds problems but fails to successfully rebuild the
# registry we abort the transaction so that we don't leave it in an
# indeterminate state.
did_fixups
=
0
bad_things
=
0
try
:
...
...
@@ -491,6 +497,7 @@ def initialize(app):
get_transaction
().
abort
()
def
import_products
(
_st
=
type
(
''
)):
# Try to import each product, checking for and catching errors.
path_join
=
os
.
path
.
join
...
...
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