[X2Go-Commits] python-x2go.git - twofactorauth (branch) updated: 0.1.1.4-191-g1bd0f3c

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


The branch, twofactorauth has been updated
       via  1bd0f3c07897bc7dcf465efc606980f49ef00262 (commit)
      from  c2ffbe650ab30214ab5a5c23ab29001426202cc9 (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 |    1 +
 x2go/session.py  |    2 ++
 2 files changed, 3 insertions(+)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 8c1438d..d9c3b6e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -89,6 +89,7 @@ python-x2go (0.1.2.0-0~x2go1) UNRELEASED; urgency=low
     - No list_sessions() calls on server when querying the status of an
       X2goSession instance.
     - Fix automatic mounting of Windows-stylish shared local folders.
+    - Transform blanks in mount points into underscores.
   * Depend on python-xlib.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Sat, 28 Sep 2012 01:44:21 +0100
diff --git a/x2go/session.py b/x2go/session.py
index 130c4da..0201d1a 100644
--- a/x2go/session.py
+++ b/x2go/session.py
@@ -1982,12 +1982,14 @@ class X2goSession(object):
                     if _X2GOCLIENT_OS == 'Windows':
                         _driveletter, _path = os.path.splitdrive(shared_folder)
                         _mount_point = '_windrive_%s%s' % (_driveletter[0], _path.replace('\\', '_'))
+                        _mount_point = _mount_point.replace(' ', '_')
 
                         if mount.lower().endswith(_mount_point.lower()):
                             _found = True
                             break
                     else:
                         _mount_point = shared_folder.replace('/', '_')
+                        _mount_point = _mount_point.replace(' ', '_')
                         if mount.endswith(_mount_point):
                             _found = True
                             break


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