[X2Go-Commits] x2gobroker.git - statusflag (branch) updated: 0.0.2.2-27-g766abbb

X2Go dev team git-admin at x2go.org
Wed Jun 5 01:01:23 CEST 2013


The branch, statusflag has been updated
       via  766abbbb49123316bae13e1433cff03ea818c6d4 (commit)
      from  0c8c8412912d6f0918d296d98cc4f1872db1b79b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 766abbbb49123316bae13e1433cff03ea818c6d4
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Jun 5 01:01:20 2013 +0200

    fix for last commit

-----------------------------------------------------------------------

Summary of changes:
 x2gobroker/brokers/base_broker.py |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

The diff of changes is:
diff --git a/x2gobroker/brokers/base_broker.py b/x2gobroker/brokers/base_broker.py
index fd0e9a4..f109073 100644
--- a/x2gobroker/brokers/base_broker.py
+++ b/x2gobroker/brokers/base_broker.py
@@ -840,11 +840,9 @@ class X2GoBroker(object):
             profile = self.get_profile(profile_id)
 
             for key in profile.keys():
-                if key.startswith('host'):
+                if key.startswith('host='):
                     del profile[key]
 
-            profile['host'] = []
-
             if self.use_session_autologin(profile_id):
                 profile['autologin'] = True
                 profile['key'] = 'key-comes-later'
@@ -865,6 +863,7 @@ class X2GoBroker(object):
                     if set(profile['host']).intersection(set(running_sessions)): profile['status'] = u'R'
                     if set(profile['host']).intersection(set(suspended_sessions)): profile['status'] = u'S'
 
+                profile['host'] = []
                 list_of_profiles.update({profile_id: profile, })
 
         return list_of_profiles


hooks/post-receive
-- 
x2gobroker.git (HTTP(S) Session broker for X2Go)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2gobroker.git" (HTTP(S) Session broker for X2Go).




More information about the x2go-commits mailing list