Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mitogen
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
mitogen
Commits
95d50adb
Commit
95d50adb
authored
Mar 26, 2018
by
David Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unix: simplify return statements.
parent
d6883375
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
mitogen/unix.py
mitogen/unix.py
+2
-3
No files found.
mitogen/unix.py
View file @
95d50adb
...
...
@@ -50,9 +50,8 @@ def is_path_dead(path):
try
:
s
.
connect
(
path
)
except
socket
.
error
,
e
:
if
e
[
0
]
in
(
errno
.
ECONNREFUSED
,
errno
.
ENOENT
):
return
True
return
False
return
e
[
0
]
in
(
errno
.
ECONNREFUSED
,
errno
.
ENOENT
)
return
False
def
make_socket_path
():
...
...
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