Change in vdsm[master]: drop type() call
danken at redhat.com
danken at redhat.com
Thu Oct 25 13:16:01 UTC 2012
Dan Kenigsberg has uploaded a new change for review.
Change subject: drop type() call
......................................................................
drop type() call
Python method resolution knows to find class methods as it is.
Change-Id: Ifd37f580c392412159cc7641336074d8894bd501
Signed-off-by: Dan Kenigsberg <danken at redhat.com>
---
M vdsm/storage/imageRepository/formatConverter.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/16/8816/1
diff --git a/vdsm/storage/imageRepository/formatConverter.py b/vdsm/storage/imageRepository/formatConverter.py
index d118e87..422cb39 100644
--- a/vdsm/storage/imageRepository/formatConverter.py
+++ b/vdsm/storage/imageRepository/formatConverter.py
@@ -149,7 +149,7 @@
log.debug("Creating the volume lease for %s", volUUID)
metaId = vol.getMetadataId()
- type(vol).newVolumeLease(metaId, domain.sdUUID, volUUID)
+ vol.newVolumeLease(metaId, domain.sdUUID, volUUID)
# If this volume is used as a template let's update the other
# volume's permissions and share the volume lease (at the moment
--
To view, visit http://gerrit.ovirt.org/8816
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifd37f580c392412159cc7641336074d8894bd501
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <danken at redhat.com>
More information about the vdsm-patches
mailing list