[X2Go-Commits] pyhoca-gui.git - twofactorauth (branch) updated: e6a6b4910c26ddb60479f32e4ed0789312e970e5

X2Go dev team git-admin at x2go.org
Sat Sep 14 15:54:37 CEST 2013

The branch, twofactorauth has been updated
       via  e6a6b4910c26ddb60479f32e4ed0789312e970e5 (commit)
      from  5af17bdbc3dacf043c828a1a81b98d5fc906e16a (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 |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/pyhoca-gui b/pyhoca-gui
index 3f35b27..5fcd10d 100755
--- a/pyhoca-gui
+++ b/pyhoca-gui
@@ -57,6 +57,10 @@ if app.startswith('./') or os.path.dirname(PROG_NAME).endswith('trunk'):
     sys.path.insert(0, os.path.join(os.path.dirname(PROG_NAME)))
     os.environ['PYHOCAGUI_DEVELOPMENT'] = '1'
     print '### PyHoca-GUI running in development mode ###'
+    if _X2GOCLIENT_OS == 'Windows':
+        sys.stdout = open(os.path.join(os.environ['APPDATA'], 'temp', '%s_stdout.log' % PROG_NAME), 'w')
+        sys.stderr = open(os.path.join(os.environ['APPDATA'], 'temp', '%s_stderr.log' % PROG_NAME), 'w')
 from pyhoca.wxgui.basepath import locale_basepath
@@ -178,7 +182,7 @@ if _X2GOCLIENT_OS == 'Windows':
                    {'args':['--lang'], 'default': None, 'metavar': 'LANGUAGE', 'help': 'set the GUI language (currently available: en, de, nl, es)', },
 backend_options = [
                    {'args':['--backend-controlsession'], 'default': None, 'metavar': 'CONTROLSESSION_BACKEND', 'choices': BACKENDS_CONTROLSESSION.keys(), 'help': 'force usage of a certain CONTROLSESSION_BACKEND (do not use this unless you know exactly what you are doing)', },
                    {'args':['--backend-terminalsession'], 'default': None, 'metavar': 'TERMINALSESSION_BACKEND', 'choices': BACKENDS_TERMINALSESSION.keys(), 'help': 'force usage of a certain TERMINALSESSION_BACKEND (do not use this unless you know exactly what you are doing)', },

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