Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
78b232a6
Commit
78b232a6
authored
Jul 01, 2006
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Darwin generates a different error number when trying to connect to a
port that nothing's listening on.
parent
61084543
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/ZEO/tests/forker.py
src/ZEO/tests/forker.py
+6
-1
No files found.
src/ZEO/tests/forker.py
View file @
78b232a6
...
@@ -185,7 +185,12 @@ def shutdown_zeo_server(adminaddr):
...
@@ -185,7 +185,12 @@ def shutdown_zeo_server(adminaddr):
break
break
raise
raise
except
socket
.
error
,
e
:
except
socket
.
error
,
e
:
if
e
[
0
]
==
errno
.
ECONNREFUSED
and
i
>
0
:
if
(
e
[
0
]
==
errno
.
ECONNREFUSED
or
# MAC OS X uses EINVAL when connecting to a port
# that isn't being listened on.
(
sys
.
platform
==
'darwin'
and
e
[
0
]
==
errno
.
EINVAL
)
)
and
i
>
0
:
break
break
raise
raise
try
:
try
:
...
...
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