comparison src/browser/sat_browser/json.py @ 697:b395d1309936

browser_side: clean the code that has been commented or isolated during the refactorisation to base libervia on quick_frontend
author souliane <souliane@mailoo.org>
date Mon, 20 Apr 2015 09:14:03 +0200
parents 82123705474b
children b81816f42c81
comparison
equal deleted inserted replaced
696:c2f22ca12e23 697:b395d1309936
124 try: 124 try:
125 _cb = self.cb[request_info.id] 125 _cb = self.cb[request_info.id]
126 except KeyError: 126 except KeyError:
127 pass 127 pass
128 else: 128 else:
129 # if isinstance(_cb, tuple):
130 # #we have arguments attached to the callback
131 # #we send them after the answer
132 # callback, args = _cb
133 # callback(response, *args)
134 # else:
135 # #No additional argument, we call directly the callback
136 _cb(response) 129 _cb(response)
137 del self.cb[request_info.id] 130 del self.cb[request_info.id]
138 131
139 try: 132 try:
140 del self.eb[request_info.id] 133 del self.eb[request_info.id]
186 "getEntityData", "getParamsUI", "asyncGetParamA", "setParam", "launchAction", 179 "getEntityData", "getParamsUI", "asyncGetParamA", "setParam", "launchAction",
187 "disconnect", "chatStateComposing", "getNewAccountDomain", "confirmationAnswer", 180 "disconnect", "chatStateComposing", "getNewAccountDomain", "confirmationAnswer",
188 "syntaxConvert", "getAccountDialogUI", "getMainResource", "getWaitingConf", "getEntitiesData", 181 "syntaxConvert", "getAccountDialogUI", "getMainResource", "getWaitingConf", "getEntitiesData",
189 "getVersion", "getLiberviaVersion", "getDefaultMUC", 182 "getVersion", "getLiberviaVersion", "getDefaultMUC",
190 ]) 183 ])
184
191 def __call__(self, *args, **kwargs): 185 def __call__(self, *args, **kwargs):
192 return LiberviaJsonProxy.__call__(self, *args, **kwargs) 186 return LiberviaJsonProxy.__call__(self, *args, **kwargs)
193 187
194 def getConfig(self, dummy1, dummy2): # FIXME 188 def getConfig(self, dummy1, dummy2): # FIXME
195 log.warning("getConfig is not implemeted in Libervia yet") 189 log.warning("getConfig is not implemeted in Libervia yet")