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
7943a5ca
Commit
7943a5ca
authored
Jan 31, 2005
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed some more references to Zope to Zope2
parent
2580fc77
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
lib/python/Testing/ZopeTestCase/threadutils.py
lib/python/Testing/ZopeTestCase/threadutils.py
+1
-1
lib/python/Zope2/Startup/handlers.py
lib/python/Zope2/Startup/handlers.py
+1
-1
lib/python/Zope2/Startup/tests/testStarter.py
lib/python/Zope2/Startup/tests/testStarter.py
+2
-2
No files found.
lib/python/Testing/ZopeTestCase/threadutils.py
View file @
7943a5ca
...
@@ -18,7 +18,7 @@ def zserverRunner(host, port, log=None):
...
@@ -18,7 +18,7 @@ def zserverRunner(host, port, log=None):
if
log
is
None
:
log
=
dummyLOG
if
log
is
None
:
log
=
dummyLOG
lg
=
logger
.
file_logger
(
log
)
lg
=
logger
.
file_logger
(
log
)
hs
=
zhttp_server
(
ip
=
host
,
port
=
port
,
resolver
=
None
,
logger_object
=
lg
)
hs
=
zhttp_server
(
ip
=
host
,
port
=
port
,
resolver
=
None
,
logger_object
=
lg
)
zh
=
zhttp_handler
(
module
=
'Zope'
,
uri_base
=
''
)
zh
=
zhttp_handler
(
module
=
'Zope
2
'
,
uri_base
=
''
)
hs
.
install_handler
(
zh
)
hs
.
install_handler
(
zh
)
asyncore
.
loop
()
asyncore
.
loop
()
...
...
lib/python/Zope2/Startup/handlers.py
View file @
7943a5ca
...
@@ -150,7 +150,7 @@ def root_handler(config):
...
@@ -150,7 +150,7 @@ def root_handler(config):
for
factory
in
config
.
servers
:
for
factory
in
config
.
servers
:
factory
.
prepare
(
config
.
ip_address
or
''
,
factory
.
prepare
(
config
.
ip_address
or
''
,
config
.
dns_resolver
,
config
.
dns_resolver
,
"Zope"
,
"Zope
2
"
,
config
.
cgi_environment
,
config
.
cgi_environment
,
config
.
port_base
)
config
.
port_base
)
...
...
lib/python/Zope2/Startup/tests/testStarter.py
View file @
7943a5ca
...
@@ -183,7 +183,7 @@ class ZopeStarterTestCase(test_logger.LoggingTestBase):
...
@@ -183,7 +183,7 @@ class ZopeStarterTestCase(test_logger.LoggingTestBase):
starter
=
self
.
get_starter
(
conf
)
starter
=
self
.
get_starter
(
conf
)
# do the job the 'handler' would have done (call prepare)
# do the job the 'handler' would have done (call prepare)
for
server
in
conf
.
servers
:
for
server
in
conf
.
servers
:
server
.
prepare
(
''
,
None
,
'Zope'
,
{},
None
)
server
.
prepare
(
''
,
None
,
'Zope
2
'
,
{},
None
)
try
:
try
:
starter
.
setupServers
()
starter
.
setupServers
()
import
ZServer
import
ZServer
...
@@ -213,7 +213,7 @@ class ZopeStarterTestCase(test_logger.LoggingTestBase):
...
@@ -213,7 +213,7 @@ class ZopeStarterTestCase(test_logger.LoggingTestBase):
## starter = self.get_starter(conf)
## starter = self.get_starter(conf)
## # do the job the 'handler' would have done (call prepare)
## # do the job the 'handler' would have done (call prepare)
## for server in conf.servers:
## for server in conf.servers:
## server.prepare('', None, 'Zope', {}, None)
## server.prepare('', None, 'Zope
2
', {}, None)
## try:
## try:
## self.assertRaises(ZConfig.ConfigurationError, starter.setupServers)
## self.assertRaises(ZConfig.ConfigurationError, starter.setupServers)
## finally:
## finally:
...
...
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