[X2Go-Commits] python-x2go.git - twofactorauth (branch) updated:

X2Go dev team git-admin at x2go.org
Sat Sep 14 15:57:47 CEST 2013

The branch, twofactorauth has been updated
       via  3499e74793409357bcf82fa3d69017341b94f59c (commit)
      from  04ab4fe08e55f4f4a1bf6be9885de31c298c8e66 (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/registry.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

The diff of changes is:
diff --git a/x2go/registry.py b/x2go/registry.py
index 83df9a2..e7af211 100644
--- a/x2go/registry.py
+++ b/x2go/registry.py
@@ -519,8 +519,8 @@ class X2goSessionRegistry(object):
         # depending on your application layout, there should either be one or no such virgin session at all
         _virgin_sessions = [ s for s in self.virgin_sessions_of_profile_name(profile_name, return_objects=True) if not s.activated ]
         if _virgin_sessions and not session_name:
-            self(session_uuid).activated = True
             session_uuid = _virgin_sessions[0].get_uuid()
+            self(session_uuid).activated = True
             self.logger('using already initially-registered yet-unused session %s' % session_uuid, loglevel=log.loglevel_NOTICE)

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