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
e2996251
Commit
e2996251
authored
May 28, 2004
by
Stefan H. Holek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mcdonc got a few lines wrong while merging.
parent
212a4a95
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
lib/python/Zope/Startup/run.py
lib/python/Zope/Startup/run.py
+0
-3
lib/python/Zope/__init__.py
lib/python/Zope/__init__.py
+2
-2
No files found.
lib/python/Zope/Startup/run.py
View file @
e2996251
...
@@ -28,9 +28,6 @@ def configure(configfile):
...
@@ -28,9 +28,6 @@ def configure(configfile):
configure('/path/to/configfile'); import Zope; app = Zope.app() """
configure('/path/to/configfile'); import Zope; app = Zope.app() """
import
Zope.Startup
import
Zope.Startup
starter
=
Zope
.
Startup
.
get_starter
()
starter
=
Zope
.
Startup
.
get_starter
()
if
not
configfile
:
import
os
configfile
=
os
.
getenv
(
"ZOPE_CONFIG"
)
opts
=
_setconfig
(
configfile
)
opts
=
_setconfig
(
configfile
)
starter
.
setConfiguration
(
opts
.
configroot
)
starter
.
setConfiguration
(
opts
.
configroot
)
starter
.
setupSecurityOptions
()
starter
.
setupSecurityOptions
()
...
...
lib/python/Zope/__init__.py
View file @
e2996251
...
@@ -33,6 +33,8 @@
...
@@ -33,6 +33,8 @@
# old behavior is likely to cause problems as ZODB backends, like ZEO,
# old behavior is likely to cause problems as ZODB backends, like ZEO,
# gain new features.
# gain new features.
from
Zope.Startup.run
import
configure
_began_startup
=
0
_began_startup
=
0
def
startup
():
def
startup
():
...
@@ -62,8 +64,6 @@ def debug(*args, **kw):
...
@@ -62,8 +64,6 @@ def debug(*args, **kw):
import
ZPublisher
import
ZPublisher
return
ZPublisher
.
test
(
'Zope'
,
*
args
,
**
kw
)
return
ZPublisher
.
test
(
'Zope'
,
*
args
,
**
kw
)
from
Zope.Startup.run
import
configure
# Zope.App.startup.startup() sets the following variables in this module.
# Zope.App.startup.startup() sets the following variables in this module.
DB
=
None
DB
=
None
bobo_application
=
None
bobo_application
=
None
...
...
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