akarneliuk / pygnmi

The pure Python implementation of the gNMI client.
https://training.karneliuk.com
BSD 3-Clause "New" or "Revised" License
126 stars 44 forks source link

diff_openconfig: define result_list sooner #122

Closed XioNoX closed 10 months ago

XioNoX commented 1 year ago

Current code returns the error at line 153 when show_diff is defined in gNMIclient.

UnboundLocalError: cannot access local variable 'result_list' where it is not associated with a value