[X2go-Commits] python-x2go.git - master (branch) updated: 0.2.0.10-87-g1d46f7b

X2Go dev team git-admin at x2go.org
Thu Nov 22 15:01:48 CET 2012


The branch, master has been updated
       via  1d46f7b6adb1bf292e1e97b9ccb4ceeb46d6e1c7 (commit)
      from  f7bffc7d1e9e8c64a3e01e3c79ec8a94ed7b4970 (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 -----------------------------------------------------------------
commit 1d46f7b6adb1bf292e1e97b9ccb4ceeb46d6e1c7
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Nov 22 15:01:42 2012 +0100

    fix add_profile in X2goSessionProfilesFILE, thanks to Dick Kniep for noticing this issue

-----------------------------------------------------------------------

Summary of changes:
 x2go/backends/profiles/_file.py |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/x2go/backends/profiles/_file.py b/x2go/backends/profiles/_file.py
index 24c2912..eb21f61 100644
--- a/x2go/backends/profiles/_file.py
+++ b/x2go/backends/profiles/_file.py
@@ -386,7 +386,10 @@ class X2goSessionProfilesFILE(inifiles.X2goIniFile):
         @type value: any type, depends on the session profile option
 
         """
-        profile_id = self.check_profile_id_or_name(section)
+        try:
+            profile_id = self.check_profile_id_or_name(section)
+        except X2goProfileException:
+            profile_id = section
         if key == 'name':
             profile_name = value
             current_profile_name = self.get_value(profile_id, key)


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