[X2Go-Commits] python-x2go.git - build-baikal (branch) updated: aa52dbb15cabb84d1bf5ebb39fce53c3d6bd6cff
X2Go dev team
git-admin at x2go.org
Wed Jan 8 15:27:38 CET 2014
The branch, build-baikal has been updated
via aa52dbb15cabb84d1bf5ebb39fce53c3d6bd6cff (commit)
from a3aeee64302c605f726415803ea15e41e2e22b3f (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/backends/profiles/_file.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
The diff of changes is:
diff --git a/x2go/backends/profiles/_file.py b/x2go/backends/profiles/_file.py
index 0c109af..5e0c127 100644
--- a/x2go/backends/profiles/_file.py
+++ b/x2go/backends/profiles/_file.py
@@ -27,6 +27,7 @@ applications.
__NAME__ = 'x2gosessionprofiles-pylib'
import copy
+import types
# Python X2go modules
from x2go.defaults import X2GO_SESSIONPROFILES_CONFIGFILES as _X2GO_SESSIONPROFILES_CONFIGFILES
@@ -112,7 +113,10 @@ class X2goSessionProfilesFILE(inifiles.X2goIniFile):
STILL UNDOCUMENTED
"""
- return type(self.defaultSessionProfile[option])
+ try:
+ return type(self.defaultSessionProfile[option])
+ except KeyError:
+ return types.StringType
def get_profile_config(self, profile_id_or_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