Mercurial > libervia-web
diff 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 |
line wrap: on
line diff
--- a/src/browser/sat_browser/json.py Mon Apr 20 08:51:25 2015 +0200 +++ b/src/browser/sat_browser/json.py Mon Apr 20 09:14:03 2015 +0200 @@ -126,13 +126,6 @@ except KeyError: pass else: - # if isinstance(_cb, tuple): - # #we have arguments attached to the callback - # #we send them after the answer - # callback, args = _cb - # callback(response, *args) - # else: - # #No additional argument, we call directly the callback _cb(response) del self.cb[request_info.id] @@ -188,6 +181,7 @@ "syntaxConvert", "getAccountDialogUI", "getMainResource", "getWaitingConf", "getEntitiesData", "getVersion", "getLiberviaVersion", "getDefaultMUC", ]) + def __call__(self, *args, **kwargs): return LiberviaJsonProxy.__call__(self, *args, **kwargs)