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
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
Nicolas Wavrant
ZODB
Commits
853e6f95
Commit
853e6f95
authored
Aug 14, 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
4ff0c868
Changes
1
Hide 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 @
853e6f95
...
...
@@ -185,7 +185,12 @@ def shutdown_zeo_server(adminaddr):
break
raise
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
raise
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