[X2Go-Commits] [x2goclient] 90/94: Set master session only once we know for sure that the session has successfully come up.
git-admin at x2go.org
git-admin at x2go.org
Fri Dec 15 21:06:56 CET 2023
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to annotated tag 0.6.1.0
in repository x2goclient.
commit e0e662042e1f3b012c5bada733110cd363020fbf
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Fri Jul 19 19:02:00 2019 +0200
Set master session only once we know for sure that the session has successfully come up.
---
debian/changelog | 5 ++++-
pyhoca/cli/frontend.py | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 4f266017..f3754108 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,9 @@
pyhoca-cli (0.6.0.2-0x2go1) UNRELEASED; urgency=medium
- * Continue development
+ [ Mike Gabriel ]
+ * New upstream version (0.6.0.3):
+ - Set master session only once we know for sure that the
+ session has successfully come up.
-- X2Go Release Manager <git-admin at x2go.org> Mon, 03 Dec 2018 04:49:29 +0100
diff --git a/pyhoca/cli/frontend.py b/pyhoca/cli/frontend.py
index fb68379c..f6fbdbab 100644
--- a/pyhoca/cli/frontend.py
+++ b/pyhoca/cli/frontend.py
@@ -723,10 +723,10 @@ class PyHocaCLI(x2go.X2GoClient):
i+=1
session = self._X2GoClient__get_session(self.x2go_session_hash)
- session.set_master_session()
if self._X2GoClient__session_ok(self.x2go_session_hash):
+ session.set_master_session()
profile_name = self._X2GoClient__get_session_profile_name(self.x2go_session_hash)
session_name = self._X2GoClient__get_session_name(self.x2go_session_hash)
self._pyhoca_logger("X2Go session is now running, the X2Go client's profile name is: %s" % profile_name, loglevel=x2go.loglevel_INFO, )
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list