Change in vdsm[master]: Fix exception string in lvm.changeVGTags().

ewarszaw at redhat.com ewarszaw at redhat.com
Wed Oct 24 08:20:44 UTC 2012


Eduardo has uploaded a new change for review.

Change subject: Fix exception string in lvm.changeVGTags().
......................................................................

Fix exception string in lvm.changeVGTags().

Change-Id: If7796a21daf74f6a86dea53cac8f2803d5a64a66
Signed-off-by: Eduardo <ewarszaw at redhat.com>
---
M vdsm/storage/lvm.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/62/8762/1

diff --git a/vdsm/storage/lvm.py b/vdsm/storage/lvm.py
index 78c846a..7b61eee 100644
--- a/vdsm/storage/lvm.py
+++ b/vdsm/storage/lvm.py
@@ -1170,8 +1170,8 @@
     addTags = set(addTags)
     if delTags.intersection(addTags):
         raise se.VolumeGroupReplaceTagError(
-            "Cannot add and delete the same tag vg: `%s` tags: `%s`",
-            vgName, ", ".join(delTags.intersection(addTags)))
+            "Cannot add and delete the same tag vg: `%s` tags: `%s`"
+             % (vgName, ", ".join(delTags.intersection(addTags))))
 
     cmd = ["vgchange"]
 


--
To view, visit http://gerrit.ovirt.org/8762
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If7796a21daf74f6a86dea53cac8f2803d5a64a66
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Eduardo <ewarszaw at redhat.com>


More information about the vdsm-patches mailing list