[X2Go-Commits] [python-x2go] 02/02: fix _get_profile_parameter() in profile backend's base.py file
git-admin at x2go.org
git-admin at x2go.org
Mon Feb 10 17:01:28 CET 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch brokerclient
in repository python-x2go.
commit 9fc8c3eaa8e518c2ebb1a5c6c6668af2466c4e77
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Mon Feb 10 17:01:05 2014 +0100
fix _get_profile_parameter() in profile backend's base.py file
---
x2go/backends/profiles/base.py | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/x2go/backends/profiles/base.py b/x2go/backends/profiles/base.py
index 53a34a3..6985f9a 100644
--- a/x2go/backends/profiles/base.py
+++ b/x2go/backends/profiles/base.py
@@ -528,11 +528,18 @@ class X2GoSessionProfiles():
"""
return self.to_session_params(profile_id_or_name)[param]
- def _get_profile_parameter(self, profile_id):
+ def _get_profile_parameter(self, profile_id, option, key_type):
"""\
Inherit from this class and provide a way for actually obtaining
the value of a specific profile parameter.
+ @param profile_id: the profile's unique ID
+ @type profile_id: C{str}
+ @param option: the session profile option for which to retrieve its value
+ @type option: C{str}
+ @param key_type: type of the value to return
+ @type key_type: C{typeobject}
+
@return: value of a session profile parameter
@rtype: C{various types}
--
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