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
58c24dcc
Commit
58c24dcc
authored
Apr 06, 2000
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug in checking for default port settings.
parent
366142c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
z2.py
z2.py
+3
-3
No files found.
z2.py
View file @
58c24dcc
...
...
@@ -562,7 +562,7 @@ else:
# HTTP Server
if
HTTP_PORT
:
if
type
(
HTTP_PORT
)
is
type
(
''
):
HTTP_PORT
=
((
IP_ADDRESS
,
HTTP_PORT
),)
if
type
(
HTTP_PORT
)
is
type
(
0
):
HTTP_PORT
=
((
IP_ADDRESS
,
HTTP_PORT
),)
for
address
,
port
in
HTTP_PORT
:
hs
=
zhttp_server
(
ip
=
address
,
...
...
@@ -586,7 +586,7 @@ if HTTP_PORT:
# FTP Server
if
FTP_PORT
:
if
type
(
FTP_PORT
)
is
type
(
''
):
FTP_PORT
=
((
IP_ADDRESS
,
FTP_PORT
),)
if
type
(
FTP_PORT
)
is
type
(
0
):
FTP_PORT
=
((
IP_ADDRESS
,
FTP_PORT
),)
for
address
,
port
in
FTP_PORT
:
FTPServer
(
module
=
MODULE
,
...
...
@@ -625,7 +625,7 @@ if FCGI_PORT and not READ_ONLY:
# Monitor Server
if
MONITOR_PORT
:
if
type
(
MONITOR_PORT
)
is
type
(
''
):
if
type
(
MONITOR_PORT
)
is
type
(
0
):
MONITOR_PORT
=
((
IP_ADDRESS
,
MONITOR_PORT
),)
for
address
,
port
in
MONITOR_PORT
:
from
AccessControl.User
import
super
...
...
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