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
723bf1df
Commit
723bf1df
authored
Jun 04, 2004
by
Stefan H. Holek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No that it works, make it pretty (#1233).
parent
4a6f5e89
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
lib/python/Zope/__init__.py
lib/python/Zope/__init__.py
+11
-8
No files found.
lib/python/Zope/__init__.py
View file @
723bf1df
...
...
@@ -33,8 +33,6 @@
# old behavior is likely to cause problems as ZODB backends, like ZEO,
# gain new features.
from
Zope.Startup.run
import
configure
_began_startup
=
0
def
startup
():
...
...
@@ -44,12 +42,7 @@ def startup():
# Already began (and maybe finished) startup, so don't run again
return
_began_startup
=
1
# Load configuration file from (optional) environment variable
# Also see http://zope.org/Collectors/Zope/1233
import
os
configfile
=
os
.
environ
.
get
(
'ZOPE_CONFIG'
)
if
configfile
is
not
None
:
configure
(
configfile
)
_configure
()
from
Zope.App.startup
import
startup
as
_startup
_startup
()
...
...
@@ -64,6 +57,16 @@ def debug(*args, **kw):
import
ZPublisher
return
ZPublisher
.
test
(
'Zope'
,
*
args
,
**
kw
)
from
Zope.Startup.run
import
configure
def
_configure
():
# Load configuration file from (optional) environment variable
# Also see http://zope.org/Collectors/Zope/1233
import
os
configfile
=
os
.
environ
.
get
(
'ZOPE_CONFIG'
)
if
configfile
is
not
None
:
configure
(
configfile
)
# Zope.App.startup.startup() sets the following variables in this module.
DB
=
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