[X2Go-Commits] pyhoca-gui.git - twofactorauth (branch) updated: 0.1.0.10-222-gcd9ab4d

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


The branch, twofactorauth has been updated
       via  cd9ab4da648a31e5e86fbf79002ebd39d0c73bdd (commit)
      from  15dab5d01c3fdd027611126acd3205616bcdb815 (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:
 debian/changelog         |    1 +
 pyhoca/wxgui/frontend.py |    3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index eccdfac..763d46c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -116,6 +116,7 @@ pyhoca-gui (0.1.2.0-0~x2go1) UNRELEASED; urgency=low
       fully started.
     - Catch and notify command startup failures for published applications
       sessions.
+    - Do not suspend session if profile is disconnected.
   * Depend on Python X2Go 0.1.2.0.
   * Install GNOME icons via dh_links.
   * Install X2Go icons with explicit install paths.
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index db99d99..250e9ec 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -343,7 +343,8 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
             if not self._hide_notifications_map.has_key(profile_name):
                 self._hide_notifications_map[profile_name] = []
             self._hide_notifications_map[profile_name].append(session_obj.get_session_name())
-            session_obj.suspend()
+            try: session_obj.suspend()
+            except: pass
         x2go.x2go_cleanup()
         self.about.Close()
         self.taskbar.Close()


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