[X2go-Commits] pyhoca-gui.git - master (branch) updated: 0.1.0.4-16-gfbfe96a

X2go dev team git-admin at x2go.org
Mon Jun 27 11:38:21 CEST 2011


The branch, master has been updated
       via  fbfe96acee1d091742ea1e849c1d74de277a4539 (commit)
      from  117a0ea4289d97940943139d05cbec00ec028b4e (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 fbfe96acee1d091742ea1e849c1d74de277a4539
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Jun 27 11:38:27 2011 +0200

    beginning to fix --auto-connect cmd line option

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

Summary of changes:
 pyhoca/wxgui/frontend.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

The diff of changes is:
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index 9b17d05..d28c79d 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -228,9 +228,9 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
 
         if self.args.auto_connect:
 
-            for session_uuid in self._X2goClient__client_registered_sessions:
-                self._pyhoca_logger('auto-connecting to %s session profile' % s.get_profile_name(), loglevel=x2go.log.loglevel_NOTICE)
-                gevent.spawn(self._auto_connect, session_uuid)
+            for _session in self._X2goClient__client_registered_sessions(return_objects=True):
+                self._pyhoca_logger('auto-connecting to %s session profile' % _session.get_profile_name(), loglevel=x2go.log.loglevel_NOTICE)
+                gevent.spawn(self._auto_connect, _session())
 
         self.profilemanager_disabled = self.args.disable_profilemanager
         self.printingprefs_disabled = self.args.disable_printingprefs


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