[X2Go-Commits] python-x2go.git - release/0.4.0.x (branch) updated: 4b8cecd3151a098bbe009db0f3f508f430fb1e2b

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


The branch, release/0.4.0.x has been updated
       via  4b8cecd3151a098bbe009db0f3f508f430fb1e2b (commit)
      from  3cf472272df79925cbba42f01092245089e05618 (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/proxy.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/x2go/proxy.py b/x2go/proxy.py
index c4f24c2..a3931a3 100644
--- a/x2go/proxy.py
+++ b/x2go/proxy.py
@@ -165,7 +165,7 @@ class X2goProxy(threading.Thread):
 
         if len(",".join(self.PROXY_OPTIONS)) >= 250:
             _options_filename = os.path.join(self.session_info.local_container, 'options')
-            options = os.open(_options_filename, 'w')
+            options = os.open(_options_filename, flags='w', mode=755)
             options.write(','.join(self.PROXY_OPTIONS))
             options.close()
             self.PROXY_OPTIONS= [ 'nx/nx', 'options=%s' % (_options_filename), ]
@@ -252,7 +252,7 @@ class X2goNX3Proxy(X2goProxy):
     def start_proxy(self):
         self.logger('starting local NX3 proxy...', loglevel=log.loglevel_INFO)
         self.logger('NX3 Proxy mode is server, cookie=%s, host=localhost, port=%s.' % (self.session_info.cookie, self.session_info.graphics_port,), loglevel=log.loglevel_DEBUG)
-        self.logger('NX3 proxy writes session log to %s/session.log.' % (self.session_info.local_container,), loglevel=log.loglevel_DEBUG)
+        self.logger('NX3 proxy writes session log to %s.' % os.path.join(self.session_info.local_container, 'session.log'), loglevel=log.loglevel_DEBUG)
 
         p = X2goProxy.start_proxy(self)
 


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