[X2Go-Commits] pyhoca-gui.git - build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d (branch) updated: 7f1f21bd59f573e18abab9b6edf7f078cc0bcfd3
X2Go dev team
git-admin at x2go.org
Tue Aug 27 13:20:48 CEST 2013
The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d has been updated
via 7f1f21bd59f573e18abab9b6edf7f078cc0bcfd3 (commit)
from 201840467d17e2c0e6560754a34f06e284405433 (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:
pyhoca-gui | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
The diff of changes is:
diff --git a/pyhoca-gui b/pyhoca-gui
index d666b3d..528121a 100755
--- a/pyhoca-gui
+++ b/pyhoca-gui
@@ -40,14 +40,17 @@ import argparse
import os
import sys
import exceptions
-import setproctitle
+
+from x2go import X2GOCLIENT_OS as _X2GOCLIENT_OS
PROG_NAME = os.path.basename(__file__)
PROG_PID = os.getpid()
-setproctitle.setproctitle(PROG_NAME)
+
+if _X2GOCLIENT_OS in ('Linux', 'Mac'):
+ import setproctitle
+ setproctitle.setproctitle(PROG_NAME)
# Python X2go modules
-from x2go import X2GOCLIENT_OS as _X2GOCLIENT_OS
from x2go import CURRENT_LOCAL_USER as _CURRENT_LOCAL_USER
if _X2GOCLIENT_OS == 'Windows':
from x2go import X2goClientXConfig as _X2goClientXConfig
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