[X2Go-Commits] python-x2go.git - build-baikal (branch) updated: 0.2.0.10-69-gb37028b

X2Go dev team git-admin at x2go.org
Wed Jan 8 15:29:28 CET 2014


The branch, build-baikal has been updated
       via  b37028bb97e1c1dc628d28caa2c2318d4da409d1 (commit)
      from  dcf2f7a347ceb98d7d9713fa4815b8183a13d5b9 (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:
 debian/changelog                  |    2 ++
 x2go/backends/terminal/_stdout.py |    6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index a7534ef..7ec4d16 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -42,6 +42,8 @@ python-x2go (0.2.1.0-0~x2go1) UNRELEASED; urgency=low
       the list of window IDs is not available.
     - Disable SSH agent forwarding on MS Windows platform for current
       versions of Python Paramiko.
+    - Allow usernames containing space characters in user names (common
+      on MS Windows).
   * /debian/rules:
     + Allow package build on systems with missing dh_python2.
   * /debian/control:
diff --git a/x2go/backends/terminal/_stdout.py b/x2go/backends/terminal/_stdout.py
index fd58dde..1ce197f 100644
--- a/x2go/backends/terminal/_stdout.py
+++ b/x2go/backends/terminal/_stdout.py
@@ -854,7 +854,7 @@ class X2goTerminalSessionSTDOUT(object):
                              'x2gomountdirs',
                              'dir',
                              str(self.session_info.name),
-                             '"%s"' % _CURRENT_LOCAL_USER,
+                             '\'%s\'' % _CURRENT_LOCAL_USER,
                              _x2go_key_fname,
                              '%s__REVERSESSH_PORT__%s; ' % (local_path, self.session_info.sshfs_port),
                              'rm -f %s %s.ident' % (_x2go_key_fname, _x2go_key_fname),
@@ -866,7 +866,7 @@ class X2goTerminalSessionSTDOUT(object):
                              'x2gomountdirs',
                              'dir',
                              str(self.session_info.name),
-                             '"%s"' % _CURRENT_LOCAL_USER,
+                             '\'%s\'' % _CURRENT_LOCAL_USER,
                              _x2go_key_fname,
                              '%s__PRINT_SPOOL___REVERSESSH_PORT__%s; ' % (local_path, self.session_info.sshfs_port),
                              'rm -f %s %s.ident' % (_x2go_key_fname, _x2go_key_fname), 
@@ -878,7 +878,7 @@ class X2goTerminalSessionSTDOUT(object):
                              'x2gomountdirs',
                              'dir',
                              str(self.session_info.name),
-                             '"%s"' % _CURRENT_LOCAL_USER,
+                             '\'%s\'' % _CURRENT_LOCAL_USER,
                              _x2go_key_fname,
                              '%s__MIMEBOX_SPOOL___REVERSESSH_PORT__%s; ' % (local_path, self.session_info.sshfs_port),
                              'rm -f %s %s.ident' % (_x2go_key_fname, _x2go_key_fname), 


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