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

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

The branch, twofactorauth has been updated
       via  e4ccf57a72e1bcb61f583462578e17718208a66e (commit)
      from  e22118fcbcca288f06acbb74449b14b0c9f44dd1 (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:
 po/pyhoca-gui.pot        |    2 +-
 pyhoca/wxgui/frontend.py |    8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/po/pyhoca-gui.pot b/po/pyhoca-gui.pot
index eed069f..222b4f8 100644
--- a/po/pyhoca-gui.pot
+++ b/po/pyhoca-gui.pot
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-03-26 21:13+0100\n"
+"POT-Creation-Date: 2011-03-26 21:27+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index 5196968..bbdb399 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -498,6 +498,10 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
             self._pyhoca_logger('Exiting %s because %s got disconnected.' % (self.appname, self.current_profile_name), loglevel=x2go.loglevel_NOTICE)
+        try:
+            del self._temp_disabled_session_names[self.current_profile_name]
+        except KeyError:
+            pass
     def OnProfileAdd(self, evt):
@@ -633,6 +637,10 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
     # this hook gets called from Python X2go classes if profile_name's control session has died...
     def HOOK_on_control_session_death(self, profile_name):
         self.notifier.send(_(u'%s - channel error') % profile_name, _(u'Lost connection to server %s unexpectedly! Try to re-authenticate to the server...') % profile_name, icon='session_warning', timeout=10000)
+        try:
+            del self._temp_disabled_session_names[self.current_profile_name]
+        except KeyError:
+            pass
         if self.exit_on_disconnect:

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