# HG changeset patch # User Goffi # Date 1439881278 -7200 # Node ID b233274e9a0fb8684725fe633f5572b81ba2b8a9 # Parent 731fbed0b9cfc537be7773cd2ea55990d4726fd6 core: removed sat_id which is not used anywhere, uuid do the job better diff -r 731fbed0b9cf -r b233274e9a0f src/core/sat_main.py --- a/src/core/sat_main.py Tue Aug 18 09:01:18 2015 +0200 +++ b/src/core/sat_main.py Tue Aug 18 09:01:18 2015 +0200 @@ -48,16 +48,9 @@ from ordereddict import OrderedDict -sat_id = 0 __version__ = C.APP_VERSION -def sat_next_id(): - global sat_id - sat_id += 1 - return "sat_id_" + str(sat_id) - - class SAT(service.Service): @property @@ -79,9 +72,6 @@ else: return version - def get_next_id(self): - return sat_next_id() - def __init__(self): self._cb_map = {} # map from callback_id to callbacks self._menus = OrderedDict() # dynamic menus. key: callback_id, value: menu data (dictionnary)