Change in vdsm[master]: pylint: vdsm/configNetwork.py fixes

Ryan Harper ryanh at us.ibm.com
Tue Apr 10 20:00:57 UTC 2012


Ryan Harper has uploaded a new change for review.

Change subject: pylint: vdsm/configNetwork.py fixes
......................................................................

pylint: vdsm/configNetwork.py fixes

************* 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)

Convert subprocess output into string with str() wrapper for use of .strip()/.splitlines()

Change-Id: Ica90db7af78e347a4bcd05584e3a30b23645b6fa
Signed-off-by: Ryan Harper <ryanh at us.ibm.com>
---
M vdsm/configNetwork.py
1 file changed, 5 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/39/3439/1
--
To view, visit http://gerrit.ovirt.org/3439
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ica90db7af78e347a4bcd05584e3a30b23645b6fa
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ryan Harper <ryanh at us.ibm.com>


More information about the vdsm-patches mailing list