From cebed411cc2f5777891f9d7982d0f970c5bd3fbb Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Tue, 1 Dec 2020 23:45:38 -0500 Subject: papi: fix copy/paste error Type: fix Change-Id: I8bd20fb38e132f6ab8cbc0e73095b649b5946498 Signed-off-by: Paul Vinciguerra --- src/vpp-api/python/vpp_papi/vpp_serializer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vpp-api/python') 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: -- cgit 1.2.3-korg