Skip to content

Commit

Permalink
Fix rfc3433 unit test (sonic-net#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
qiluo-msft authored Aug 8, 2018
1 parent c176f07 commit 1577f4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sonic_ax_impl/mibs/ietf/rfc3433.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ def __init__(self):
self.ent_phy_sensor_value_map = {}
self.ent_phy_sensor_oper_state_map = {}

self.transceiver_dom = []

def reinit_data(self):
"""
Reinit data, clear cache
Expand All @@ -278,8 +280,6 @@ def reinit_data(self):
self.TRANSCEIVER_DOM_KEY_PATTERN)
if transceiver_dom_encoded:
self.transceiver_dom = [entry.decode() for entry in transceiver_dom_encoded]
else:
self.transceiver_dom = []

def update_data(self):
"""
Expand Down

0 comments on commit 1577f4c

Please sign in to comment.