[X2Go-Commits] python-x2go.git - brokerclient (branch) updated: 8384119b95078448cfc51ae08f264eeb34b96922

X2Go dev team git-admin at x2go.org
Tue Jan 7 16:19:37 CET 2014


The branch, brokerclient has been updated
       via  8384119b95078448cfc51ae08f264eeb34b96922 (commit)
      from  12eee2f80e8939e66db07d62b0329f086f2771a6 (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:
 x2go/backends/proxy/base.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/x2go/backends/proxy/base.py b/x2go/backends/proxy/base.py
index 11a0ba9..c485de5 100644
--- a/x2go/backends/proxy/base.py
+++ b/x2go/backends/proxy/base.py
@@ -31,6 +31,7 @@ import types
 import time
 import copy
 import threading
+import cStringIO
 
 # Python X2go modules
 import x2go.forward as forward
@@ -169,11 +170,12 @@ class X2goProxyBASE(threading.Thread):
         self.session_log_stderr = open('%s/%s' % (self.session_info.local_container, self.session_log, ), 'a')
         self.logger('forking threaded subprocess: %s' % " ".join(cmd_line), log.loglevel_DEBUG)
 
+        _dummy_stdin = cStringIO.StringIO()
         while not self.proxy:
             gevent.sleep(.2)
             p = self.proxy = subprocess.Popen(cmd_line,
                                               env=self.PROXY_ENV,
-                                              stdin=subprocess.PIPE,
+                                              stdin=_dummy_stdin,
                                               stdout=self.session_log_stdout,
                                               stderr=self.session_log_stderr,
                                               shell=False)


hooks/post-receive
-- 
python-x2go.git (Python X2Go Client API)

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 "python-x2go.git" (Python X2Go Client API).




More information about the x2go-commits mailing list