The branch, twofactorauth has been updated via d761e7f130018e8a275f87d0316a69c842c739e7 (commit) from 938bb81114832e2c769218b90cd346c4258d59b8 (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 | 4 +++- x2go/backends/profiles/_file.py | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) The diff of changes is: diff --git a/debian/changelog b/debian/changelog index dee47f2..8a55e2b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ python-x2go (0.4.0.2-0~x2go1) UNRELEASED; urgency=low - * Continue development... + * New upstream version (0.4.0.2): + - Empty session profile name/id cache when adding new profiles. (Fixes: + #130). -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Wed, 13 Feb 2013 12:49:35 +0100 diff --git a/x2go/backends/profiles/_file.py b/x2go/backends/profiles/_file.py index 64b5f15..b5b05ff 100644 --- a/x2go/backends/profiles/_file.py +++ b/x2go/backends/profiles/_file.py @@ -155,6 +155,7 @@ 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 = [] @@ -368,6 +369,9 @@ class X2GoSessionProfilesFILE(inifiles.X2GoIniFile): if key in kwargs: continue self.update_value(None, key, value, profile_id=profile_id) + self._cached_profile_ids = [] + self._cached_profile_names = [] + 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).