Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
18107c9
)
papi: fix copy/paste error
25/30225/2
author
Paul Vinciguerra
<
[email protected]
>
Wed, 2 Dec 2020 04:45:38 +0000
(23:45 -0500)
committer
Ole Tr�an
<
[email protected]
>
Wed, 2 Dec 2020 10:07:45 +0000
(10:07 +0000)
Type: fix
Change-Id: I8bd20fb38e132f6ab8cbc0e73095b649b5946498
Signed-off-by: Paul Vinciguerra <
[email protected]
>
src/vpp-api/python/vpp_papi/vpp_serializer.py
patch
|
blob
|
history
diff --git
a/src/vpp-api/python/vpp_papi/vpp_serializer.py
b/src/vpp-api/python/vpp_papi/vpp_serializer.py
index
a568033
..
f46f207
100644
(file)
--- 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: