summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/python/vpp_papi
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2020-12-01 23:45:38 -0500
committerOle Tr�an <otroan@employees.org>2020-12-02 10:07:45 +0000
commitcebed411cc2f5777891f9d7982d0f970c5bd3fbb (patch)
tree09d32c62a6249b82eeda70a2eb0d492f87eb23fe /src/vpp-api/python/vpp_papi
parent18107c974c24a708e309542d1dbf4a52acc70b08 (diff)
papi: fix copy/paste error
Type: fix Change-Id: I8bd20fb38e132f6ab8cbc0e73095b649b5946498 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vpp-api/python/vpp_papi')
-rw-r--r--src/vpp-api/python/vpp_papi/vpp_serializer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vpp-api/python/vpp_papi/vpp_serializer.py b/src/vpp-api/python/vpp_papi/vpp_serializer.py
index a5680335536..f46f207300f 100644
--- a/src/vpp-api/python/vpp_papi/vpp_serializer.py
+++ b/src/vpp-api/python/vpp_papi/vpp_serializer.py
@@ -139,8 +139,8 @@ class String(Packer):
self.fixed = True if num else False
if self.fixed and not self.limit:
raise VPPSerializerValueError(
- "Invalid argument length for: {}, {} maximum {}".
- format(list, len(list), self.limit))
+ "Invalid combination for: {}, {} fixed:{} limit:{}".
+ format(name, options, self.fixed, self.limit))
def pack(self, list, kwargs=None):
if not list: