From 6c6b9edc4690f5c4cd86334d706d7c40a81c85cf Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Wed, 7 Aug 2019 13:58:59 +0000 Subject: FIX: Pylint - my bad Signed-off-by: Peter Mikus Change-Id: I8c1f57f6b648b99338f3f6a6ff9ec943082e9bc4 --- resources/libraries/python/InterfaceUtil.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'resources/libraries/python/InterfaceUtil.py') diff --git a/resources/libraries/python/InterfaceUtil.py b/resources/libraries/python/InterfaceUtil.py index 7024e85dc8..1f79d7e679 100644 --- a/resources/libraries/python/InterfaceUtil.py +++ b/resources/libraries/python/InterfaceUtil.py @@ -1161,10 +1161,8 @@ class InterfaceUtil(object): for bond in details: data += ('{b}\n'.format(b=bond['interface_name'].rstrip('\x00'))) - data += (' mode: {m}\n'.format(m=LinkBondMode( - bond['mode']).name.lower())) - data += (' load balance: {lb}\n'.format(lb=LinkBondLoadBalance( - bond['lb']).name.lower())) + data += (' mode: {m}\n'.format(m=bond['mode']).lower()) + data += (' load balance: {lb}\n'.format(lb=bond['lb']).lower()) data += (' number of active slaves: {n}\n'.format( n=bond['active_slaves'])) if verbose: -- cgit 1.2.3-korg