[X2Go-Commits] python-x2go.git - master (branch) updated: 0.4.0.3-12-g512b72c

X2Go dev team git-admin at x2go.org
Tue Jun 18 20:27:17 CEST 2013


The branch, master has been updated
       via  512b72cccbd5ffcdd29917ac68f70286f215483b (commit)
      from  22da6eab7545338335e7cef8b3b5a39d2fb786cc (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 512b72cccbd5ffcdd29917ac68f70286f215483b
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Jun 18 20:27:12 2013 +0200

    Fix renaming of profile names.

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

Summary of changes:
 debian/changelog                |    1 +
 x2go/backends/profiles/_file.py |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 9d365eb..13200f5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,7 @@ python-x2go (0.4.0.4-0~x2go1) UNRELEASED; urgency=low
     - Support mounting client-side folders on UNC paths.
     - Enable keepalive callbacks on open SSH client connections.
     - Only do x2golistmounts calls for the session cache on running sessions.
+    - Fix renaming of profile names.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Sun, 21 Apr 2013 23:21:29 +0200
 
diff --git a/x2go/backends/profiles/_file.py b/x2go/backends/profiles/_file.py
index 463db0f..8c70820 100644
--- a/x2go/backends/profiles/_file.py
+++ b/x2go/backends/profiles/_file.py
@@ -155,9 +155,9 @@ class X2GoSessionProfilesFILE(inifiles.X2GoIniFile):
             try: self._cached_profile_ids.remove(profile_id)
             except ValueError: pass
             self.add_profile(profile_id=None, **_config)
-            self._cached_profile_ids = []
-            self._cached_profile_names = []
         self._profiles_need_profile_id_renewal = []
+        self._cached_profile_ids = []
+        self._cached_profile_names = []
 
         # at last write the profile config as is...
         return inifiles.X2GoIniFile.write(self)


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