[X2Go-Commits] python-x2go.git - release/0.4.0.x (branch) updated: 0.1.1.4-45-g57b55fd

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


The branch, release/0.4.0.x has been updated
       via  57b55fd657ce06af490bcb15eeff0911c93aec6f (commit)
      from  d74935d3e533b5a6708f77f6028c13d353e2eba4 (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/client.py |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

The diff of changes is:
diff --git a/x2go/client.py b/x2go/client.py
index 8b62d8f..a06e02f 100644
--- a/x2go/client.py
+++ b/x2go/client.py
@@ -1470,7 +1470,7 @@ class X2goClient(object):
             return session_name not in [ s for s in self.server_running_sessions(session_uuid)  + self.server_suspended_sessions(session_uuid) ]
     __has_session_terminated = has_session_terminated
 
-    def share_local_folder_with_session(self, session_uuid=None, local_path=None, profile_name=None, folder_name=None):
+    def share_local_folder(self, session_uuid=None, local_path=None, profile_name=None, folder_name=None):
         """\
         Share a local folder with the X2go session registered as C{session_uuid}.
 
@@ -1504,7 +1504,9 @@ class X2goClient(object):
         else:
             self.logger('Cannot find a terminal session for profile ,,%s\'\' to share a local folder with' % profile_name, loglevel=log.loglevel_WARN)
             return False
-    __share_local_folder_with_session = share_local_folder_with_session
+    __share_local_folder = share_local_folder
+    __share_local_folder_with_session = share_local_folder
+    __share_local_folder_with_profile = share_local_folder
 
     def unshare_all_local_folders(self, session_uuid=None, profile_name=None):
         """\
@@ -1590,7 +1592,7 @@ class X2goClient(object):
             if len(_associated) > 0:
                 session_uuid = _associated[0]
         if session_uuid:
-                return self.session_registry(session_uuid).get_shared_folders()
+            return self.session_registry(session_uuid).get_shared_folders()
     session_get_shared_folders = get_shared_folders
     profile_get_shared_folders = get_shared_folders
     __session_get_shared_folders = get_shared_folders


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