Fix a typo achernya 0.4.20
authorAlexander Chernyakhovsky <achernya@mit.edu>
Mon, 22 Jul 2013 07:23:05 +0000 (03:23 -0400)
committerAlexander Chernyakhovsky <achernya@mit.edu>
Mon, 22 Jul 2013 07:23:05 +0000 (03:23 -0400)
debian/changelog
host/usr/sbin/invirt-lvm

index 5408670..470c551 100644 (file)
@@ -1,3 +1,9 @@
+invirt-remote (0.4.20) precise; urgency=low
+
+  * Fix a typo.
+
+ -- Alexander Chernyakhovsky <achernya@mit.edu>  Mon, 22 Jul 2013 03:22:48 -0400
+
 invirt-remote (0.4.19) precise; urgency=low
 
   * New (c)lvm requires that an LV be deactivated before renamed or resized.
index 58e6c1c..a5b15e0 100755 (executable)
@@ -59,7 +59,7 @@ elif subcommand == "lvremove":
     # Rename the LV to something else so we can wipe it before reusing
     # the space
     if lvm_activation(lvpath, 'n') != 0:
-        print >>sys.stderr, "Could not deactivate LV %s", % (lvname,)
+        print >>sys.stderr, "Could not deactivate LV %s" % (lvname,)
         sys.exit(1)
     while True:
         new_lvname = "old_%s_%s" % (lvname, ''.join(random.choice(string.ascii_letters) for i in xrange(6)))
@@ -84,7 +84,7 @@ elif subcommand == "lvresize":
     size = sys.argv[4]
     ensureoff(machine)
     if lvm_activation(lvpath, 'n') != 0:
-        print >>sys.stderr, "Could not deactivate LV %s", % (lvname,)
+        print >>sys.stderr, "Could not deactivate LV %s" % (lvname,)
         sys.exit(1)
     p = Popen(["/sbin/lvresize", "-L", size + "M", lvpath],
               stdin=PIPE, stderr=PIPE)
@@ -106,7 +106,7 @@ elif subcommand == "lvrename":
     lvpath = "/dev/" + vg + "/" + lvname
     new_lvpath = "/dev/" + vg + "/" + newlvname
     if lvm_activation(lvpath, 'n') != 0:
-        print >>sys.stderr, "Could not deactivate LV %s", % (lvname,)
+        print >>sys.stderr, "Could not deactivate LV %s" % (lvname,)
         sys.exit(1)
     rv = call(["/sbin/lvrename", vg, lvname, newlvname])
     if rv != 0: