[X2go-Commits] python-x2go.git - master (branch) updated: 0.1.1.4-245-g05f9803

X2Go dev team git-admin at x2go.org
Sat May 26 22:16:12 CEST 2012


The branch, master has been updated
       via  05f98034c7110a93838c20559fe885477d71b037 (commit)
      from  0e87534762012a7029253e86feb1140d704aba67 (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 -----------------------------------------------------------------
commit 05f98034c7110a93838c20559fe885477d71b037
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sat May 26 22:16:08 2012 +0200

    use gevent.spawn for wait=0 and gevent.spawn_later for wait>0

-----------------------------------------------------------------------

Summary of changes:
 x2go/session.py |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

The diff of changes is:
diff --git a/x2go/session.py b/x2go/session.py
index c2bd8e6..96c057f 100644
--- a/x2go/session.py
+++ b/x2go/session.py
@@ -491,7 +491,11 @@ class X2goSession(object):
         """
         self.logger('Using session %s as master session for profile %s.' % (self.get_session_name(), self.get_profile_name()), loglevel=log.loglevel_NOTICE)
         self.master_session = True
-        gevent.spawn_later(wait, self.share_all_local_folders)
+        if wait:
+            gevent.spawn_later(wait, self.share_all_local_folders)
+        else:
+            gevent.spawn(self.share_all_local_folders)
+
 
     def unset_master_session(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