Fixed syntax error.
authorPeter Iannucci <iannucci@mit.edu>
Mon, 4 Oct 2010 02:39:11 +0000 (22:39 -0400)
committerPeter Iannucci <iannucci@mit.edu>
Mon, 4 Oct 2010 02:39:11 +0000 (22:39 -0400)
host/usr/sbin/invirt-lvm

index a042f0e..cae6b2b 100755 (executable)
@@ -22,7 +22,7 @@ def ensureoff(machine):
     rv = call(["/usr/sbin/xm", "destroy", prefix + machine],
               stderr=PIPE)
 
     rv = call(["/usr/sbin/xm", "destroy", prefix + machine],
               stderr=PIPE)
 
-machine_specific = subcommand not in ['lvcreate-all', 'vgcapacity']:
+machine_specific = subcommand not in ['lvcreate-all', 'vgcapacity']
 
 if machine_specific:
     machine = sys.argv[2]
 
 if machine_specific:
     machine = sys.argv[2]