[X2Go-Commits] python-x2go.git - brokerclient (branch) updated: 0.4.0.2-6-g7792ed6

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


The branch, brokerclient has been updated
       via  7792ed64a99ab0f8b8acb56e39a75a2946529615 (commit)
      from  e5f05db2510ed87f2be979bcaf9ed7c9cd97b20b (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:
 debian/changelog                |    3 +++
 x2go/backends/profiles/_file.py |    4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 520d8a6..55a1cc3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ python-x2go (0.4.0.3-0~x2go1) UNRELEASED; urgency=low
   * New upstream version (0.4.0.3):
     - Fix inheritance of Paramiko/SSH exception.
     - Make Python X2Go aware of the Cinnamon desktop shell.
+    - Fix faulty value creations for the export session profile parameter.
+      (Fixes: #162). This issue occured when the restoreexports feature
+      had been activated in the session profile.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Sun, 03 Mar 2013 15:57:44 +0100
 
diff --git a/x2go/backends/profiles/_file.py b/x2go/backends/profiles/_file.py
index b5b05ff..9f3faf0 100644
--- a/x2go/backends/profiles/_file.py
+++ b/x2go/backends/profiles/_file.py
@@ -406,8 +406,6 @@ class X2GoSessionProfilesFILE(inifiles.X2GoIniFile):
         except X2GoProfileException:
             profile_id = section
 
-        inifiles.X2GoIniFile.update_value(self, profile_id, key, value)
-
         if key == 'name':
             profile_name = value
             current_profile_name = self.get_value(profile_id, key)
@@ -431,6 +429,8 @@ class X2GoSessionProfilesFILE(inifiles.X2GoIniFile):
             if _config.has_key('host') and _config['host'] != value:
                 self._profiles_need_profile_id_renewal.append(profile_id)
 
+        inifiles.X2GoIniFile.update_value(self, profile_id, key, value)
+
     def check_profile_id_or_name(self, profile_id_or_name):
         """\
         Detect the profile ID from a given string which maybe profile ID or profile 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