[X2go-Commits] python-x2go.git - master (branch) updated: 0.1.1.4-258-ge891bfa

X2Go dev team git-admin at x2go.org
Tue May 29 11:39:31 CEST 2012


The branch, master has been updated
       via  e891bfa901a9c32aa520e641fbb3c15e4a1f34af (commit)
      from  0042fba6522012ee12af9d8962e707a70db16ed9 (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 e891bfa901a9c32aa520e641fbb3c15e4a1f34af
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue May 29 11:39:24 2012 +0200

    only reported virgin sessions to have been started by someone else

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

Summary of changes:
 x2go/registry.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

The diff of changes is:
diff --git a/x2go/registry.py b/x2go/registry.py
index 1bcc86d..fbbb44c 100644
--- a/x2go/registry.py
+++ b/x2go/registry.py
@@ -316,7 +316,7 @@ class X2goSessionRegistry(object):
                         if _last_status['suspended']:
                             # from a suspended state
                             self.client_instance.HOOK_on_session_has_resumed_by_other(session_uuid=_session_uuid, profile_name=_profile_name, session_name=_session_name)
-                        else:
+                        elif _last_status['virgin']:
                             # as a new session
                             self.client_instance.HOOK_on_session_has_started_by_other(session_uuid=_session_uuid, profile_name=_profile_name, session_name=_session_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