X2Go dev team | 17 Nov 02:44 2012

python-x2go.git - master (branch) updated: 0.2.0.10-81-g19142c8

The branch, master 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 -----------------------------------------------------------------
commit 19142c8cf8165b553780cfc33048df5ae11890ef
Author: Mike Gabriel <mike.gabriel@...>
Date:   Sat Nov 17 02:42:32 2012 +0100

    fix skip_pubapp_sessions param

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

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
 <at>  <at>  -446,13 +446,14  <at>  <at>  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

Gmane