Commit 63d96e4c authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

luxi: Pass socket path directly to exception, not in tuple

Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarGuido Trotter <>
parent 4d98c565
......@@ -162,7 +162,7 @@ class Transport:
raise TimeoutError("Connect timed out: %s" % str(err))
except socket.error, err:
if err.args[0] in (errno.ENOENT, errno.ECONNREFUSED):
raise NoMasterError((address,))
raise NoMasterError(address)
except (socket.error, NoMasterError):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment