This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch brokerclient in repository python-x2go. commit a4735298c176afa74cdd05cac4c07bc87b38eff5 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Sun Mar 9 12:46:03 2014 +0100 brokerclient: adapt to recent changes in the JSON webUI of the broker --- x2go/backends/profiles/httpbroker.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/x2go/backends/profiles/httpbroker.py b/x2go/backends/profiles/httpbroker.py index 1739597..c24f46d 100644 --- a/x2go/backends/profiles/httpbroker.py +++ b/x2go/backends/profiles/httpbroker.py @@ -99,13 +99,14 @@ class X2GoSessionProfiles(base.X2GoSessionProfiles): def broker_listsessions(self): payload = { - 'task': 'listsessions', + 'task': 'listprofiles', 'user': self.broker_user, 'password': self.broker_password, } r = requests.post(self.broker_url, data=payload) if r.status_code == 200 and r.headers['content-type'].startswith("text/json"): - return json.loads(r.text) + payload = json.loads(r.text) + return payload['profiles'] if payload['task'] == 'listprofiles' else {} def _populate_session_profiles(self): """\ -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/python-x2go.git