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

X2Go dev team git-admin at x2go.org
Thu Mar 29 13:20:10 CEST 2012


The branch, master has been updated
       via  b51e10faab3657f08ef900b26a6c27ab97db72d5 (commit)
      from  65bfa51a7d23aeba4c6517d6a5b11dfa5a8ecdad (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 b51e10faab3657f08ef900b26a6c27ab97db72d5
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Mar 29 13:20:07 2012 +0200

    fix stdout and stderr for Windows

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

Summary of changes:
 pyhoca-gui |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/pyhoca-gui b/pyhoca-gui
index b053624..007ffae 100755
--- a/pyhoca-gui
+++ b/pyhoca-gui
@@ -60,8 +60,8 @@ if app.startswith('./') or os.path.dirname(PROG_NAME).endswith('trunk'):
     print '### PyHoca-GUI running in development mode ###'
 else:
     if _X2GOCLIENT_OS == 'Windows':
-        sys.stdout = open(os.path.join(os.environ['TEMP'], '%s_stdout.log' % PROG_NAME), 'w')
-        sys.stderr = open(os.path.join(os.environ['TEMP'], '%s_stderr.log' % PROG_NAME), 'w')
+        sys.stdout = os.path.join(os.environ[u'appdata'], PROG_NAME)
+        sys.stderr = os.path.join(os.environ[u'appdata'], PROG_NAME)
 
 from pyhoca.wxgui.basepath import locale_basepath
 


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