[X2Go-Commits] [x2gobroker] 05/06: sbin/x2gobroker-testagent: Fix retrieval of available tasks.
git-admin at x2go.org
git-admin at x2go.org
Sat Apr 20 16:51:28 CEST 2019
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2gobroker.
commit a6191e535ee9ff6fa72cbe42c39d867f4c838385
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Mon Mar 18 12:32:09 2019 +0100
sbin/x2gobroker-testagent: Fix retrieval of available tasks.
---
sbin/x2gobroker-testagent | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbin/x2gobroker-testagent b/sbin/x2gobroker-testagent
index 333cc5c..9289f2b 100755
--- a/sbin/x2gobroker-testagent
+++ b/sbin/x2gobroker-testagent
@@ -156,7 +156,7 @@ if __name__ == "__main__":
agent_client_tasks = x2gobroker.agent.tasks
if 'availabletasks' in agent_client_tasks:
try:
- remote_agent_tasks = x2gobroker.agent.tasks_available(username=username, query_mode=query_mode, remote_agent=remote_agent)
+ (success, remote_agent_tasks) = x2gobroker.agent.tasks_available(username=username, query_mode=query_mode, remote_agent=remote_agent)
except x2gobroker.x2gobroker_exceptions.X2GoBrokerAgentException as e:
print("{errmsg}.".format(errmsg=e))
print()
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git
More information about the x2go-commits
mailing list