Remove unused function definitions
This commit is contained in:
parent
edc52e1892
commit
d001fdf9af
16
dmr_utils.py
16
dmr_utils.py
@ -111,18 +111,4 @@ def get_alias(_id, _dict):
|
||||
_int_id = int_id(_id)
|
||||
if _int_id in _dict:
|
||||
return _dict[_int_id]
|
||||
return _int_id
|
||||
|
||||
# These are the functions you should use to look up IDs in the dictionaries
|
||||
# But they don't work here because they reference dictionraries not avaialbe
|
||||
# in this scope
|
||||
'''
|
||||
def sub_alias(_sub_id):
|
||||
return get_info(int_id(_sub_id), subscriber_ids)
|
||||
|
||||
def peer_alias(_peer_id):
|
||||
return get_info(int_id(_peer_id), peer_ids)
|
||||
|
||||
def tg_alias(_tgid):
|
||||
return get_info(int_id(_tgid), talkgroup_ids)
|
||||
'''
|
||||
return _int_id
|
Loading…
Reference in New Issue
Block a user