[X2go-Commits] pyhoca-gui.git - master (branch) updated: 0.1.0.10-109-g026c4a1

X2Go dev team git-admin at x2go.org
Wed Mar 14 17:09:02 CET 2012


The branch, master has been updated
       via  026c4a15c437cdd2e129b3d4d82f2ef910a626dd (commit)
      from  50c3cfccf4684baf9c57fff4b9d8fa3cd7285571 (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 026c4a15c437cdd2e129b3d4d82f2ef910a626dd
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Mar 14 17:08:56 2012 +0100

    remove debug code

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

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

The diff of changes is:
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index a86255e..c0fa2a3 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -382,16 +382,13 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
             if not pubapp_session_running:
                 for session_name in [_sn for _sn in session_list.keys() if session_list[_sn].is_suspended() ]:
 
-                    print session_name
                     if session_list[session_name].is_published_applications_provider() and not pubapp_session_resumed:
-                        print "RESUME %s" % session_name
                         # resume sessions in published applications mode immediately
                         pubapp_session = self._X2goClient__register_session(profile_name=profile_name, published_applications=True, cmd='PUBLISHED', session_type='published', session_name=session_name, return_object=True)
                         pubapp_session.resume()
                         pubapp_session_resumed = True
                     elif session_list[session_name].is_published_applications_provider() and pubapp_session_resumed:
                         # if there are more then one (in suspended state, of course), terminate them now...
-                        print "TERMINATING %s" % session_name
                         self._X2goClient__get_session_of_session_name(session_name, return_object=True).terminate()
 
                 if not pubapp_session_resumed:
@@ -403,7 +400,6 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
             if profile_name in self._temp_launching_pubapp_profiles:
                 self._temp_launching_pubapp_profiles.remove(profile_name)
 
-            print pubapp_session_started | pubapp_session_resumed
             return pubapp_session_started | pubapp_session_resumed
 
         self.notifier.send(_(u'%s - server warning') % profile_name, _(u'The X2Go Server does not publish an application menu.'), icon='session_warning', timeout=10000)


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