core: removed sat_id which is not used anywhere, uuid do the job better

This commit is contained in:
Goffi 2015-08-18 09:01:18 +02:00
commit 8cfcc7098a

View file

@ -48,16 +48,9 @@ except ImportError:
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 @@ class SAT(service.Service):
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)