papi: fix typo in repr 44/23644/3
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Tue, 26 Nov 2019 19:15:53 +0000 (14:15 -0500)
committerOle Trøan <otroan@employees.org>
Wed, 27 Nov 2019 08:35:05 +0000 (08:35 +0000)
Reported by Vratko's review.
(Thanks for the review)

Fixes: 14b0b4791c0b8c886e7b5c9ca667d060f0bada0b

Type: fix

Change-Id: I9c080c0c40060cc77977e76edae03d60eb393ce2
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
src/vpp-api/python/vpp_papi/vpp_serializer.py

index b0be8c8..0929487 100644 (file)
@@ -272,7 +272,7 @@ class FixedList(Packer):
         return result, total
 
     def __repr__(self):
-        return "FixedList_(name=%s, field_type=%s, num=%s)" % (
+        return "FixedList(name=%s, field_type=%s, num=%s)" % (
             self.name, self.field_type, self.num)