Change in vdsm[master]: utils: remove unused variable warning

nsoffer at redhat.com nsoffer at redhat.com
Tue Apr 12 10:18:49 UTC 2016


Nir Soffer has posted comments on this change.

Change subject: utils: remove unused variable warning
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.ovirt.org/#/c/56022/1/lib/vdsm/utils.py
File lib/vdsm/utils.py:

Line 849: 
Line 850: def create_connected_socket(host, port, sslctx=None, timeout=None):
Line 851:     addrinfo = socket.getaddrinfo(host, port,
Line 852:                                   socket.AF_UNSPEC, socket.SOCK_STREAM)
Line 853:     family, socktype, proto, _, _ = addrinfo[0]
Who is warning about this?
Line 854:     sock = socket.socket(family, socktype, proto)
Line 855: 
Line 856:     if sslctx:
Line 857:         sock = sslctx.wrapSocket(sock)


-- 
To view, visit https://gerrit.ovirt.org/56022
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I2796a212883c21d2d8902d9e9665e5dee1da8b6e
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list