Remove unused function definitions
This commit is contained in:
parent
edc52e1892
commit
d001fdf9af
14
dmr_utils.py
14
dmr_utils.py
@ -112,17 +112,3 @@ def get_alias(_id, _dict):
|
|||||||
if _int_id in _dict:
|
if _int_id in _dict:
|
||||||
return _dict[_int_id]
|
return _dict[_int_id]
|
||||||
return _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)
|
|
||||||
'''
|
|
Loading…
x
Reference in New Issue
Block a user