[X2Go-Commits] python-x2go.git - brokerclient (branch) updated: ba2a2f8390524d0b9bebf0ea36a8357a029df55e
X2Go dev team
git-admin at x2go.org
Tue Jan 7 16:19:30 CET 2014
The branch, brokerclient has been updated
via ba2a2f8390524d0b9bebf0ea36a8357a029df55e (commit)
from 25b0e1c8ee76e4acf5785a02629f17e16e1f7a0e (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
x2go/client.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
The diff of changes is:
diff --git a/x2go/client.py b/x2go/client.py
index 2d7ba7b..2b12c78 100644
--- a/x2go/client.py
+++ b/x2go/client.py
@@ -698,7 +698,7 @@ class X2goClient(object):
if session_name is None:
return self.session_registry(session_uuid).is_running()
else:
- return session_name in [ s.get_session_name() for s in self.server_running_sessions(session_uuid) ]
+ return session_name in [ s for s in self.server_running_sessions(session_uuid) ]
__is_session_running = is_session_running
def is_session_suspended(self, session_uuid, session_name=None):
@@ -716,7 +716,7 @@ class X2goClient(object):
if session_name is None:
return self.session_registry(session_uuid).is_suspended()
else:
- return session_name in [ s.get_session_name() for s in self.server_suspended_sessions(session_uuid) ]
+ return session_name in [ s for s in self.server_suspended_sessions(session_uuid) ]
__is_session_suspended = is_session_suspended
def has_session_terminated(self, session_uuid, session_name=None):
@@ -734,7 +734,7 @@ class X2goClient(object):
if session_name is None:
return self.session_registry(session_uuid).has_terminated()
else:
- return session_name not in [ s.get_session_name() for s in self.server_running_sessions(session_uuid) + self.server_suspended_sessions(session_uuid) ]
+ return session_name not in [ s for s in self.server_running_sessions(session_uuid) + self.server_suspended_sessions(session_uuid) ]
__has_session_terminated = has_session_terminated
def share_local_folder_with_session(self, session_uuid, folder_name):
hooks/post-receive
--
python-x2go.git (Python X2Go Client API)
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 "python-x2go.git" (Python X2Go Client API).
More information about the x2go-commits
mailing list