[X2Go-Commits] python-x2go.git - build-baikal (branch) updated: 0.0.43.0-14-g2c6b536
X2Go dev team
git-admin at x2go.org
Wed Jan 8 15:28:24 CET 2014
The branch, build-baikal has been updated
via 2c6b536dfab4277d4a6021af2d13c71dbf639cfc (commit)
from 2583a0e48fda201dcb77d7b02cf1002458f9efb0 (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 | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
The diff of changes is:
diff --git a/x2go/client.py b/x2go/client.py
index 5149014..0f4029e 100644
--- a/x2go/client.py
+++ b/x2go/client.py
@@ -658,6 +658,23 @@ class X2goClient(object):
return self.session_registry(session_uuid).get_server_peername()
__get_session_server_peername = get_session_server_peername
+ def get_session_server_hostname(self, session_uuid):
+ """\
+ Retrieve the server hostname as provide by the calling
+ application (e.g. like it has been specified in the session
+ profile).
+
+ @param session_uuid: the X2go sessions UUID registry hash
+ @type session_uuid: C{str}
+
+ @return: the hostname for the queried X2go session as specified
+ by the calling application
+ @rtype: str
+
+ """
+ return self.session_registry(session_uuid).get_server_hostname()
+ __get_session_server_hostname = get_session_server_hostname
+
def get_session(self, session_uuid):
"""\
Retrieve the complete L{X2goSession} object that has been
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