Fix "TypeError: cannot concatenate 'str' and 'NoneType' objects"
Change-Id: I85a42785d43a676b65f26b6e2cd71c997fddcbb1 Signed-off-by: Ed Warnicke <eaw@cisco.com>
This commit is contained in:

committed by
Damjan Marion

parent
f8c94313a3
commit
b8ff5d6a1b
@ -93,7 +93,7 @@ class VppPapiProvider(object):
|
||||
:param cli: CLI to execute
|
||||
:returns: CLI output
|
||||
"""
|
||||
return cli + "\n" + self.cli(cli)
|
||||
return cli + "\n" + str(self.cli(cli))
|
||||
|
||||
def _convert_mac(self, mac):
|
||||
return int(mac.replace(":", ""), 16) << 16
|
||||
|
Reference in New Issue
Block a user