changeset 1469:b233274e9a0f

core: removed sat_id which is not used anywhere, uuid do the job better
author Goffi <goffi@goffi.org>
date Tue, 18 Aug 2015 09:01:18 +0200
parents 731fbed0b9cf
children 8bfbf5cb0e28
files src/core/sat_main.py
diffstat 1 files changed, 0 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- 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)