[X2Go-Commits] python-x2go.git - brokerclient (branch) updated: 0.2.1.1-22-gb014bae

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


The branch, brokerclient has been updated
       via  b014bae497840deba4b094e5fdee4e79478b989b (commit)
      from  1d869290092c02881753955c061fa7f3ef085a62 (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, 2 insertions(+), 4 deletions(-)

The diff of changes is:
diff --git a/x2go/backends/profiles/_file.py b/x2go/backends/profiles/_file.py
index eb23582..6e241a8 100644
--- a/x2go/backends/profiles/_file.py
+++ b/x2go/backends/profiles/_file.py
@@ -155,9 +155,8 @@ class X2goSessionProfilesFILE(inifiles.X2goIniFile):
             self.iniConfig.remove_section(profile_id)
             try: self._cached_profile_ids.remove(profile_id)
             except ValueError: pass
-            try: self._cached_profile_names.remove(_config['name'])
-            except ValueError: pass
-            self.add_profile(profile_id=None, **_config)
+            self._cached_profile_ids.append(self.add_profile(profile_id=None, **_config))
+        self._profiles_need_profile_id_renewal = []
 
         # at last write the profile config as is...
         inifiles.X2goIniFile.write(self)
@@ -368,7 +367,6 @@ class X2goSessionProfilesFILE(inifiles.X2goIniFile):
             if key in kwargs: continue
             self.update_value(None, key, value, profile_id=profile_id)
 
-
         return profile_id
 
     def delete_profile(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