[X2Go-Commits] [x2gobroker] 01/01: x2gobroker-testagent: Fix setting up remote_agent[] dictionary. Follow-up fix for a9bc46b.
git-admin at x2go.org
git-admin at x2go.org
Mon Feb 13 14:55:42 CET 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2gobroker.
commit 1400ff210d905805f3dbe6d7878ce01cbf135c9c
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Mon Feb 13 14:55:35 2017 +0100
x2gobroker-testagent: Fix setting up remote_agent[] dictionary. Follow-up fix for a9bc46b.
---
debian/changelog | 2 ++
sbin/x2gobroker-testagent | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index be96b10..acc86e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ x2gobroker (0.0.3.2-0x2go1) UNRELEASED; urgency=medium
(Fixes: #1141).
* Regression fix for d68ec35. Use hasattr() to properly test structure
of pam module (required for ABI/API changes upstream).
+ * x2gobroker-testagent:
+ - Fix setting up remote_agent[] dictionary. Follow-up fix for a9bc46b.
-- X2Go Release Manager <git-admin at x2go.org> Thu, 01 Dec 2016 23:07:26 +0100
diff --git a/sbin/x2gobroker-testagent b/sbin/x2gobroker-testagent
index 1480616..47c87e1 100755
--- a/sbin/x2gobroker-testagent
+++ b/sbin/x2gobroker-testagent
@@ -122,7 +122,7 @@ if __name__ == "__main__":
local_agent = (hostname == 'LOCAL')
query_mode = local_agent and 'LOCAL' or 'SSH'
if local_agent: remote_agent = None
-else: remote_agent = {'hostname': hostname, 'port': port, }
+else: remote_agent = {'hostaddr': hostname, 'port': port, }
if remote_agent and cmdline_args.add_to_known_hosts:
remote_agent.update({
--
Alioth's /srv/git/code.x2go.org/x2gobroker.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git
More information about the x2go-commits
mailing list