[X2Go-Commits] [pyhoca-gui] 29/71: CVix: use setup_mswinlog function to start logging into a file if build is frozen

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 cc44674947c8e31927a74a25e270c86d05f2aa9a
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Feb 7 12:01:46 2014 +0100

    CVix: use setup_mswinlog function to start logging into a file if build is frozen
---
 CVix.py |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/CVix.py b/CVix.py
index f5b95ca..6e35f78 100755
--- a/CVix.py
+++ b/CVix.py
@@ -19,12 +19,16 @@
 # Free Software Foundation, Inc.,
 # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
+PROG_NAME = 'CVix'
+try:
+    from pyhoca.mswin.mswin_logging import setup_mswinlog
+    setup_mswinlog(PROG_NAME)
+except ImportError:
+    pass
+
 import os
 import sys
 
-from pyhoca.wxgui.launcher import setup_consolelog
-setup_consolelog()
-
 from pyhoca.wxgui.launcher import *
 
 import x2go
@@ -34,7 +38,6 @@ __AUTHOR__ = "Mike Gabriel, Dick Kniep"
 __VERSION__ = "1.99.1"
 
 
-PROG_NAME = 'CVix'
 # change this to .CVix???
 SESSION_DIR = '.x2goclient'
 

--
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