[X2Go-Commits] pyhoca-gui.git - twofactorauth (branch) updated: 0.2.0.4-48-gfda28cd

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


The branch, twofactorauth has been updated
       via  fda28cd78ed721cce9d0bf900ac96682f91b3700 (commit)
      from  a6bbb96a2533efb7a31d77d6fe2693796cd9e87a (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:
 man/man1/pyhoca-gui.1    |    6 ------
 pyhoca-gui               |    1 -
 pyhoca/wxgui/frontend.py |    2 +-
 3 files changed, 1 insertion(+), 8 deletions(-)

The diff of changes is:
diff --git a/man/man1/pyhoca-gui.1 b/man/man1/pyhoca-gui.1
index 8ca7b2e..1f73aff 100644
--- a/man/man1/pyhoca-gui.1
+++ b/man/man1/pyhoca-gui.1
@@ -149,12 +149,6 @@ Give a custom position for the logon window, use negative values to position rel
 .TP
 \*(T<\fB\-\-published-applications-no-submenus\fR \fI<number>\fR\*(T>
 The number of published applications that will be rendered without submenus.
-.TP
-\*(T<\fB\-\-connection-timeout\fR \fI<secs>\fR\*(T>
-Python X2Go (the X2Go backend in PyHoca-GUI) regularly pings the aliveness of each X2Go server that the
-application is connected to. If these pings receive a connection timeout, Python X2Go interprets this as
-a connection loss. The default connection timeout is 20 seconds. If this does not meet your requirements
-you can scale the timeout value to your needs.
 .PP
 .SH BACKEND OPTIONS
 \fBpyhoca-gui\fR supports transparent use of different data backends. For configuration three backends are common:
diff --git a/pyhoca-gui b/pyhoca-gui
index 2f4a7aa..0486314 100755
--- a/pyhoca-gui
+++ b/pyhoca-gui
@@ -223,7 +223,6 @@ x2go_gui_options = [
                    {'args':['--display'], 'default': None, 'metavar': '<hostname>:<screennumber>', 'help': 'set the DISPLAY environment variable to <hostname>:<screennumber>', },
                    {'args':['--logon-window-position'], 'default': None, 'metavar': '<x-pos>x<y-pos>', 'help': 'give a custom position for the logon window, use negative values to position relative to right/bottom border', },
                    {'args':['--published-applications-no-submenus'], 'default': 10, 'metavar': '<number>', 'help': 'the number of published applications that will be rendered without submenus', },
-                   {'args':['--connection-timeout'], 'default': 20, 'metavar': '<secs>', 'help': 'timeout connection after <secs> seconds (default: 20)', },
                  ]
 if _X2GOCLIENT_OS == 'Windows':
     x2go_gui_options.append(
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index e5b9a95..dcfe28a 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -518,7 +518,7 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
                 # be one)
                 if pubapp_sessions_running:
                     gevent.sleep(1)
-                    session_list = self._X2goClient__list_sessions(session_uuid=session_uuid, profile_name=profile_name, refresh_cache=True)
+                session_list = self._X2goClient__list_sessions(session_uuid=session_uuid, profile_name=profile_name, refresh_cache=True)
 
             if session_list:
                 pubapp_sessions_suspended = [ _sn for _sn in session_list.keys() if session_list[_sn].is_suspended() and session_list[_sn].is_published_applications_provider() ]


hooks/post-receive
-- 
pyhoca-gui.git (Python X2Go Client (wxPython GUI))

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 "pyhoca-gui.git" (Python X2Go Client (wxPython GUI)).




More information about the x2go-commits mailing list