[X2Go-Commits] python-x2go.git - brokerclient (branch) updated: 0.1.0.2

X2Go dev team git-admin at x2go.org
Tue Jan 7 16:20:38 CET 2014


The branch, brokerclient has been updated
       via  ef0811d98d2bc8038ed78385c4add0572bba134b (commit)
      from  0ba8dfed0c71b41a958ebec3fbd7dc47eac53a91 (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 8fb14e5..5b0b9cc 100644
--- a/x2go/backends/profiles/_file.py
+++ b/x2go/backends/profiles/_file.py
@@ -204,7 +204,11 @@ class X2goSessionProfilesFILE(inifiles.X2goIniFile):
         STILL UNDOCUMENTED
 
         """
-        return self.get_profile_config(profile_id=profile_id)['name']
+        _profile_config = self.get_profile_config(profile_id=profile_id)
+        if _profile_config.has_key('name'):
+            return _profile_config['name']
+        else:
+            return ''
 
     def add_profile(self, profile_id=None, **kwargs):
         """\


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