[X2Go-Commits] [pyhoca-gui] 27/71: CVix: call setup_consolelog() as early as possible

git-admin at x2go.org git-admin at x2go.org
Thu Mar 20 00:32:42 CET 2014


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch cvix/2.x
in repository pyhoca-gui.

commit 93c085497a316c8794e63294a8930c12844f1aa6
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Feb 6 01:16:23 2014 +0100

    CVix: call setup_consolelog() as early as possible
---
 CVix.py |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/CVix.py b/CVix.py
index a7aeaef..f5b95ca 100755
--- a/CVix.py
+++ b/CVix.py
@@ -22,7 +22,10 @@
 import os
 import sys
 
-from pyhoca.wxgui import *
+from pyhoca.wxgui.launcher import setup_consolelog
+setup_consolelog()
+
+from pyhoca.wxgui.launcher import *
 
 import x2go
 import CVix_session_profile_template
@@ -30,11 +33,11 @@ import CVix_session_profile_template
 __AUTHOR__ = "Mike Gabriel, Dick Kniep"
 __VERSION__ = "1.99.1"
 
+
 PROG_NAME = 'CVix'
 # change this to .CVix???
 SESSION_DIR = '.x2goclient'
 
-
 def CVixConfigFile():
     """\
     Create CVix's customer based session profile file.
@@ -86,7 +89,6 @@ def startCVix():
 
     launcher.setup_progname(PROG_NAME)
     launcher.setup_version(__VERSION__)
-    launcher.setup_consolelog()
     launcher.setup_process()
     launcher.setup_devmode()
 

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git



More information about the x2go-commits mailing list