[X2Go-Commits] python-x2go.git - build-baikal (branch) updated: 0.2.0.10-81-g19142c8

X2Go dev team git-admin at x2go.org
Wed Jan 8 15:29:29 CET 2014


The branch, build-baikal has been updated
       via  19142c8cf8165b553780cfc33048df5ae11890ef (commit)
      from  b4b82d69db5599877036a014a7494bffb39e527f (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 |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

The diff of changes is:
diff --git a/x2go/registry.py b/x2go/registry.py
index 6619f19..e7b6732 100644
--- a/x2go/registry.py
+++ b/x2go/registry.py
@@ -446,13 +446,14 @@ class X2goSessionRegistry(object):
                     except: pass
 
                     # this if clause catches problems when x2golistsessions commands give weird results
-                    if not (self.has_session_of_session_name(session_name) and not re.match('.*_stRPUBLISHED_.*', session_name)) or re_register:
-                        session_uuid = self.register(server, profile_id, profile_name,
-                                                     session_name=session_name, virgin=False,
-                                                     **kwargs
-                                                    )
-                        self(session_uuid).connected = True
-                        self.update_status(session_uuid=session_uuid, force_update=True, newly_connected=newly_connected)
+                    if not self.has_session_of_session_name(session_name) or re_register:
+                        if not (skip_pubapp_sessions and re.match('.*_stRPUBLISHED_.*', session_name)):
+                            session_uuid = self.register(server, profile_id, profile_name,
+                                                         session_name=session_name, virgin=False,
+                                                         **kwargs
+                                                        )
+                            self(session_uuid).connected = True
+                            self.update_status(session_uuid=session_uuid, force_update=True, newly_connected=newly_connected)
 
     def register(self, server, profile_id, profile_name,
                  session_name=None,


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