From 11ce5ae0521ebdf4cb3fd0562d93d581b5881b2a Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Mon, 10 Nov 2008 16:20:54 -0500 Subject: [PATCH] Return the right output from remctls when doing a "broadcast" svn path=/trunk/packages/invirt-remote-server/; revision=1601 --- debian/changelog | 6 ++++++ python/remote/bcast.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index a9e15bd..3492ab6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +invirt-remote-server (0.0.16) unstable; urgency=low + + * When returning from a bcast, put together the stdout, not the stderr + + -- Evan Broder Mon, 10 Nov 2008 16:19:33 -0500 + invirt-remote-server (0.0.15) unstable; urgency=low * Include invirt.remote Python module diff --git a/python/remote/bcast.py b/python/remote/bcast.py index ca69818..6a00b23 100644 --- a/python/remote/bcast.py +++ b/python/remote/bcast.py @@ -19,4 +19,4 @@ def bcast(cmd, hosts = [h.hostname for h in config.hosts]): else: raise RuntimeError("remctl to host %s returned non-zero exit status %d" % (s, p.returncode)) - return [(s, yaml.load(o[1], yaml.CSafeLoader)) for (s, o) in outputs.iteritems()] + return [(s, yaml.load(o[0], yaml.CSafeLoader)) for (s, o) in outputs.iteritems()] -- 1.7.9.5