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

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


The branch, twofactorauth has been updated
       via  c2ffbe650ab30214ab5a5c23ab29001426202cc9 (commit)
      from  f8455f9b7ae5a8587cb6d654dbaf6ff6f1c3effa (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/utils.py    |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 29a7da3..8c1438d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -88,6 +88,7 @@ python-x2go (0.1.2.0-0~x2go1) UNRELEASED; urgency=low
     - Fix X2goSession.get_shared_folders() method on Windows.
     - No list_sessions() calls on server when querying the status of an
       X2goSession instance.
+    - Fix automatic mounting of Windows-stylish shared local folders.
   * Depend on python-xlib.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Sat, 28 Sep 2012 01:44:21 +0100
diff --git a/x2go/utils.py b/x2go/utils.py
index ce95cad..83a9f76 100644
--- a/x2go/utils.py
+++ b/x2go/utils.py
@@ -225,8 +225,8 @@ def _convert_SessionProfileOptions_2_SessionParams(_options):
         for _shared_folder in _export_list:
             # fix for wrong export field usage in PyHoca-GUI/CLI and python-x2go before 20110923
             if not ":" in _shared_folder: _shared_folder = "%s:1" % _shared_folder
-            if _shared_folder.split(":")[1] == "1":
-                _params['share_local_folders'].append(_shared_folder.split(":")[0])
+            if _shared_folder.split(":")[-1] == "1":
+                _params['share_local_folders'].append(":".join(_shared_folder.split(":")[:-1]))
 
     if not _options['fullscreen']:
         _params['geometry'] = '%sx%s' % (_options['width'], _options['height'])


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