[X2Go-Commits] [python-x2go] 03/03: fix some HOOKs' __doc__ strings

git-admin at x2go.org git-admin at x2go.org
Sat Apr 5 01:15:54 CEST 2014


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

x2go pushed a commit to branch master
in repository python-x2go.

commit 275bea4fc7dc255f08945ef376f45a3081924ff0
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sat Apr 5 01:15:47 2014 +0200

    fix some HOOKs' __doc__ strings
---
 x2go/client.py |   17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/x2go/client.py b/x2go/client.py
index a219950..c1cefb9 100644
--- a/x2go/client.py
+++ b/x2go/client.py
@@ -380,6 +380,9 @@ class X2GoClient(object):
         """\
         HOOK method: called if a session demands to auto connect the session profile.
 
+        @param profile_name: profile name of session that called this hook method
+        @type profile_name: C{str}
+
         """
         self.logger('HOOK_profile_auto_connect: profile ,,%s'' wants to be auto-connected to the X2Go server.' % profile_name, loglevel=log.loglevel_WARN)
 
@@ -415,6 +418,9 @@ class X2GoClient(object):
         """\
         HOOK method: called if the startup of a session failed.
 
+        @param profile_name: profile name of session that called this hook method
+        @type profile_name: C{str}
+
         """
         self.logger('HOOK_session_startup_failed: session startup for session profile ,,%s'' failed.' % profile_name, loglevel=log.loglevel_WARN)
 
@@ -422,6 +428,9 @@ class X2GoClient(object):
         """\
         HOOK method: called if the startup of a shadow session was denied by the other user.
 
+        @param profile_name: profile name of session that called this hook method
+        @type profile_name: C{str}
+
         """
         self.logger('HOOK_desktop_sharing_failed: desktop sharing for profile ,,%s'' was denied by the other user.' % profile_name, loglevel=log.loglevel_WARN)
 
@@ -429,6 +438,9 @@ class X2GoClient(object):
         """\
         HOOK method: called if the x2golistdesktops command generates a timeout due to long execution time.
 
+        @param profile_name: profile name of session that called this hook method
+        @type profile_name: C{str}
+
         """
         self.logger('HOOK_list_desktops_timeout: the server-side x2golistdesktops command for session profile %s took too long to return results. This can happen from time to time, please try again.' % profile_name, loglevel=log.loglevel_WARN)
 
@@ -436,6 +448,11 @@ class X2GoClient(object):
         """\
         HOOK method: called if it is tried to connect to a (seen before) sharable desktop that's not available (anymore).
 
+        @param profile_name: profile name of session that called this hook method
+        @type profile_name: C{str}
+        @param desktop: desktop identifier (the X session's $DISPLAY)
+        @type desktop: C{str}
+
         """
         self.logger('HOOK_no_such_desktop: the desktop %s (via session profile %s) is not available for sharing (anymore).' % (desktop, profile_name), loglevel=log.loglevel_WARN)
 

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



More information about the x2go-commits mailing list