vpp_papi: Fix vapi.disconnect exception. 14/20014/2
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Thu, 6 Jun 2019 21:14:37 +0000 (17:14 -0400)
committerNeale Ranns <nranns@cisco.com>
Fri, 7 Jun 2019 07:45:02 +0000 (07:45 +0000)
commit34ce57486106f8a64b54f32122645a8df9be79eb
tree5c84538562a7409f7b5e287b11093fa1cc097d66
parent20344a1e5c4342fcbd485e9c3915e96e1dc6ffe5
vpp_papi: Fix vapi.disconnect exception.

Traceback (most recent call last):
  File "/vpp/test/framework.py", line 521, in setUpClass
    cls.quit()
  File "/vpp/test/framework.py", line 556, in quit
    cls.vapi.disconnect()
  File "/vpp/test/vpp_papi_provider.py", line 308, in disconnect
    self.vpp.disconnect()
  File "/vpp/src/vpp-api/python/vpp_papi/vpp_papi.py", line 500, in disconnect
    if self.event_thread is not None:
AttributeError: 'VPPApiClient' object has no attribute 'event_thread'

Type: fix

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