mirror of
https://github.com/espressif/openthread.git
synced 2026-08-09 20:27:47 +00:00
[toranj] remove unused age property when parsing cache table (#4599)
This commit is contained in:
committed by
Jonathan Hui
parent
ee0dc4f9bb
commit
bb86ae4c76
@@ -1548,8 +1548,6 @@ class AddressCacheEntry(object):
|
||||
# separator
|
||||
dict = {item.split(':')[0]: item.split(':')[1] for item in items[3:]}
|
||||
|
||||
self._age = int(dict['age'], 0)
|
||||
|
||||
@property
|
||||
def address(self):
|
||||
return self._address
|
||||
@@ -1558,10 +1556,6 @@ class AddressCacheEntry(object):
|
||||
def rloc16(self):
|
||||
return self._rloc16
|
||||
|
||||
@property
|
||||
def age(self):
|
||||
return self._age
|
||||
|
||||
def __repr__(self):
|
||||
return 'AddressCacheEntry({})'.format(self.__dict__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user