[X2Go-Commits] [x2gobroker] 01/01: code cleanup

git-admin at x2go.org git-admin at x2go.org
Fri Mar 7 22:38:51 CET 2014


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gobroker.

commit 1e90b16aaad415dd355b9ea1649ca266bdb39c14
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Mar 7 22:38:27 2014 +0100

    code cleanup
---
 x2gobroker/web/json.py |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/x2gobroker/web/json.py b/x2gobroker/web/json.py
index 9574796..801eaac 100644
--- a/x2gobroker/web/json.py
+++ b/x2gobroker/web/json.py
@@ -157,7 +157,6 @@ class X2GoBrokerWeb(_RequestHandler):
                 payload.update({
                     'profiles': broker_backend.list_profiles(username),
                 })
-                output += json.dumps(payload, indent=4, sort_keys=True)
 
             elif task == 'selectsession':
 
@@ -183,7 +182,7 @@ class X2GoBrokerWeb(_RequestHandler):
 
                         payload['selected_session'] = selected_session
 
-                output += json.dumps(payload, indent=4, sort_keys=True)
+            output += json.dumps(payload, indent=4, sort_keys=True)
 
             self.write(output)
             return

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git



More information about the x2go-commits mailing list