[X2Go-Commits] [python-x2go] 01/03: httpbroker: fix handling of session profile ID/name cache
git-admin at x2go.org
git-admin at x2go.org
Sat Apr 5 01:15:54 CEST 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository python-x2go.
commit b462004697fd76ba9c9d10e41a9b3c8e0302fc04
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Sat Apr 5 01:12:19 2014 +0200
httpbroker: fix handling of session profile ID/name cache
---
x2go/backends/profiles/httpbroker.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/x2go/backends/profiles/httpbroker.py b/x2go/backends/profiles/httpbroker.py
index 0651833..a89edd8 100644
--- a/x2go/backends/profiles/httpbroker.py
+++ b/x2go/backends/profiles/httpbroker.py
@@ -173,10 +173,8 @@ class X2GoSessionProfiles(base.X2GoSessionProfiles):
except KeyError: pass
try: self._profiles_need_profile_id_renewal.remove(profile_id)
except ValueError: pass
- try: self._cached_profile_names.remove(self.to_profile_name(profile_id))
- except ValueError: pass
- try: self._cached_profile_ids.remove(profile_id)
- except ValueError: pass
+ try: del self._cached_profile_ids[profile_id]
+ except KeyError: pass
del self.session_profiles[profile_id]
self._mutable_profile_ids = None
self._broker_auth_successful = False
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/python-x2go.git
More information about the x2go-commits
mailing list