[X2go-Commits] pyhoca-gui.git - master (branch) updated: 0.1.0.10-165-g583e35f
X2Go dev team
git-admin at x2go.org
Tue Apr 3 16:55:19 CEST 2012
The branch, master has been updated
via 583e35fb52dabb4f43298fd8a3a5b6a347686bfd (commit)
from 326c0fce32508e936f0c9be04832cc8430628fc0 (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 583e35fb52dabb4f43298fd8a3a5b6a347686bfd
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Tue Apr 3 16:55:13 2012 +0200
fix dev mode detection
-----------------------------------------------------------------------
Summary of changes:
pyhoca-gui | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
The diff of changes is:
diff --git a/pyhoca-gui b/pyhoca-gui
index cf21a5a..701d105 100755
--- a/pyhoca-gui
+++ b/pyhoca-gui
@@ -81,7 +81,7 @@ if _X2GOCLIENT_OS in ('Linux', 'Mac'):
import setproctitle
setproctitle.setproctitle(PROG_NAME)
-if sys.argv[0].startswith('./'):
+if sys.argv[0].startswith('./') or sys.arv[0].startswith('python'):
sys.path.insert(0, os.getcwd())
os.environ['PYHOCAGUI_DEVELOPMENT'] = '1'
print '### PyHoca-GUI running in development mode ###'
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