Ryan Harper has uploaded a new change for review.
Change subject: pylint:vdsm/*.py cast output to str() for .strip()/splitlines() ......................................................................
pylint:vdsm/*.py cast output to str() for .strip()/splitlines()
************* Module caps E:187,35:osversion: Instance of 'list' has no 'splitlines' member (but some types could not be inferred ************* Module configNetwork E: 68,7:ifdown: Instance of 'list' has no 'strip' member (but some types could not be inferred) E: 70,7:ifdown: Instance of 'list' has no 'strip' member (but some types could not be inferred) E: 71,49:ifdown: Instance of 'list' has no 'splitlines' member (but some types could not be inferred) E: 80,7:ifup: Instance of 'list' has no 'strip' member (but some types could not be inferred) E: 82,7:ifup: Instance of 'list' has no 'strip' member (but some types could not be inferred) ************* Module netinfo E: 45,23:nics: Instance of '_Chainmap' has no 'split' member (but some types could not be inferred) E:137,22:ifconfig: Instance of 'list' has no 'split' member (but some types could not be inferred) ************* Module utils E:681,42:getHostUUID: Instance of 'list' has no 'splitlines' member (but some types could not be inferred)
wrapper command and config output with str() to help pylint.
Change-Id: Iae2c0ece02d5e41e0080bf41c0d9ea3544965274 Signed-off-by: Ryan Harper ryanh@us.ibm.com --- M vdsm/caps.py M vdsm/configNetwork.py M vdsm/netinfo.py M vdsm/utils.py 4 files changed, 9 insertions(+), 9 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/44/3444/1 -- To view, visit http://gerrit.ovirt.org/3444 To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange Gerrit-Change-Id: Iae2c0ece02d5e41e0080bf41c0d9ea3544965274 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Ryan Harper ryanh@us.ibm.com