From: Evan Broder Date: Mon, 10 Nov 2008 21:20:54 +0000 (-0500) Subject: Return the right output from remctls when doing a "broadcast" X-Git-Tag: invirt-remote-server/0.0.16^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-remote.git/commitdiff_plain/11ce5ae0521ebdf4cb3fd0562d93d581b5881b2a Return the right output from remctls when doing a "broadcast" svn path=/trunk/packages/invirt-remote-server/; revision=1601 --- 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()]