summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Warnicke <eaw@cisco.com>2016-11-28 13:59:22 -0600
committerDamjan Marion <dmarion.lists@gmail.com>2016-11-29 17:35:44 +0000
commitb8ff5d6a1bdbd8fae07221a6d28b59c6d80fdc24 (patch)
tree6e623f2f18019f95d5e3ddb3f9131439e15f0608
parentf8c94313a3ec2e3dfdf7b308516cce315f69f548 (diff)
Fix "TypeError: cannot concatenate 'str' and 'NoneType' objects"
Change-Id: I85a42785d43a676b65f26b6e2cd71c997fddcbb1 Signed-off-by: Ed Warnicke <eaw@cisco.com>
-rw-r--r--test/vpp_papi_provider.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py
index 776d4a68ae8..aec052c2f40 100644
--- a/test/vpp_papi_provider.py
+++ b/test/vpp_papi_provider.py
@@ -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