Index: /trunk/packages/invirt-remote/debian/changelog
===================================================================
--- /trunk/packages/invirt-remote/debian/changelog	(revision 2512)
+++ /trunk/packages/invirt-remote/debian/changelog	(revision 2513)
@@ -1,2 +1,8 @@
+invirt-remote (0.4.3) unstable; urgency=low
+
+  * Minor cleanup of 0.4.2
+
+ -- Alex Dehnert <adehnert@mit.edu>  Sat, 24 Oct 2009 17:12:33 -0400
+
 invirt-remote (0.4.2) unstable; urgency=low
 
Index: /trunk/packages/invirt-remote/python/remote/monocast.py
===================================================================
--- /trunk/packages/invirt-remote/python/remote/monocast.py	(revision 2512)
+++ /trunk/packages/invirt-remote/python/remote/monocast.py	(revision 2513)
@@ -5,5 +5,5 @@
 hostnames = [ h.hostname for h in config.hosts ]
 
-def monocast(args, hosts = hostnames, randomize = True):
+def monocast(args, hostnames = hostnames, randomize = True):
     """
     Given a command and a list of hostnames or IPs, issue the command to each
@@ -18,7 +18,7 @@
     """
     if(randomize):
-        hosts = random.sample(hosts, len(hosts))
+        hostnames = random.sample(hostnames, len(hostnames))
     hostsdown = []
-    for host in hosts:
+    for host in hostnames:
         pipe = Popen(['remctl', host, 'remote', 'web'] + args, stdout=PIPE, stderr=PIPE)
         output = pipe.communicate()
@@ -27,6 +27,4 @@
                 hostsdown.append(host)
             else:
-                #raise RuntimeError("remctl to host %s returned non-zero exit status %d; stderr:\n%s"
-                #                   % (host, pipe.returncode, output[1]))
                 return (host, hostsdown, pipe.returncode,) + output
         else:
Index: /trunk/packages/invirt-remote/server/usr/sbin/invirt-remote-lvm
===================================================================
--- /trunk/packages/invirt-remote/server/usr/sbin/invirt-remote-lvm	(revision 2512)
+++ /trunk/packages/invirt-remote/server/usr/sbin/invirt-remote-lvm	(revision 2513)
@@ -18,7 +18,6 @@
     sys.stdout.write(result[3]) # stdout
     sys.stderr.write(result[4]) # stderr
+    return 0
 
 if __name__ == '__main__':
     sys.exit(main(sys.argv))
-
-# vim:et:sw=4:ts=4
Index: /trunk/packages/invirt-remote/server/usr/sbin/invirt-remote-proxy
===================================================================
--- /trunk/packages/invirt-remote/server/usr/sbin/invirt-remote-proxy	(revision 2512)
+++ /trunk/packages/invirt-remote/server/usr/sbin/invirt-remote-proxy	(revision 2513)
@@ -1,4 +1,4 @@
-#!/bin/bash                                                                                         
-# invoke as invirt-remote-proxy-$TYPE, with "TYPE" in the remctl sense.                             
+#!/bin/bash
+# invoke as invirt-remote-proxy-$TYPE, with "TYPE" in the remctl sense.
 
 klist -s || kinit -k
