[X2Go-Commits] pyhoca-gui.git - twofactorauth (branch) updated: 0.1.0.10-163-g267a47b

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


The branch, twofactorauth has been updated
       via  267a47ba565ce1084742def333b82b43ae00f57a (commit)
      from  92608230d3bf666b0cbc981e49efb32ea1baf1d7 (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 |    9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

The diff of changes is:
diff --git a/pyhoca-gui b/pyhoca-gui
index 852ade5..cf21a5a 100755
--- a/pyhoca-gui
+++ b/pyhoca-gui
@@ -81,15 +81,10 @@ if _X2GOCLIENT_OS in ('Linux', 'Mac'):
     import setproctitle
     setproctitle.setproctitle(PROG_NAME)
 
-app = sys.argv[0]
-if app.startswith('./') or os.path.dirname(PROG_NAME).endswith('trunk'):
-    sys.path.insert(0, os.path.join(os.path.dirname(PROG_NAME)))
+if sys.argv[0].startswith('./'):
+    sys.path.insert(0, os.getcwd())
     os.environ['PYHOCAGUI_DEVELOPMENT'] = '1'
     print '### PyHoca-GUI running in development mode ###'
-else:
-    if _X2GOCLIENT_OS == 'Windows':
-        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