This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository python-x2go. commit 3259daf0c52da0ff0d4bddf5be743bdccd33279e Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Thu Mar 20 08:34:42 2014 +0100 another one: optimize session profile option retrieval --- x2go/backends/profiles/file.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x2go/backends/profiles/file.py b/x2go/backends/profiles/file.py index 19b3b64..c9c0f7c 100644 --- a/x2go/backends/profiles/file.py +++ b/x2go/backends/profiles/file.py @@ -121,7 +121,7 @@ class X2GoSessionProfiles(base.X2GoSessionProfiles, inifiles.X2GoIniFile): return [ s for s in self.iniConfig.sections() if s != "none" ] def _get_server_hostname(self, profile_id): - return random.choice(self.get_profile_config(profile_id)['host']) + return random.choice(self.get_profile_config(profile_id, 'host')) def _get_server_port(self, profile_id): - return self.get_profile_config(profile_id)['sshport'] + return self.get_profile_config(profile_id, 'sshport') -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/python-x2go.git