papi: support old style of providing apidir 31/40231/2
authorVratko Polak <vrpolak@cisco.com>
Mon, 22 Jan 2024 13:56:02 +0000 (14:56 +0100)
committerOle Tr�an <otroan@employees.org>
Tue, 23 Jan 2024 16:34:14 +0000 (16:34 +0000)
commit1effb29aa2c3e9179192dd3919c8d849fcb08dae
tree63edd4dcb52c23ebd63bd4d4656dcea11919d073
parente6d05dc1b6420f6de2703b2b14a4845ea7436a39
papi: support old style of providing apidir

77caeb1b193404e76beb27a1aa81321e8eb1cf1f has changed the behavior
in an incompatible way, breaking users (including CSIT).

The new behavior is more pythonic,
but the old behavior has to be supported
at least one release after publicly deprecating it.

Type: fix

Change-Id: I9dfdd2229065010216e49db80b14b856c545965c
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
src/vpp-api/python/vpp_papi/vpp_papi.py