Martin Polednik has uploaded a new change for review.
Change subject: vdsm: user super instead of direct parent call for Drive ......................................................................
vdsm: user super instead of direct parent call for Drive
Super allow us to call parent class without having to specify it's name, simplyfing further moving of the class and possibly more inheritance.
Change-Id: I78151e3aa7116feddbfa7f8f9d204bdafe6f95e4 Signed-off-by: Martin Polednik mpolednik@redhat.com --- M vdsm/virt/vm.py 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/98/32398/1
diff --git a/vdsm/virt/vm.py b/vdsm/virt/vm.py index 2c3dd30..d9e780e 100644 --- a/vdsm/virt/vm.py +++ b/vdsm/virt/vm.py @@ -886,7 +886,7 @@ def __init__(self, conf, log, **kwargs): if not kwargs.get('serial'): self.serial = kwargs.get('imageID'[-20:]) or '' - VmDevice.__init__(self, conf, log, **kwargs) + super(Drive, self).__init__(conf, log, **kwargs) # Keep sizes as int self.reqsize = int(kwargs.get('reqsize', '0')) # Backward compatible self.truesize = int(kwargs.get('truesize', '0'))
Martin Polednik has posted comments on this change.
Change subject: vdsm: user super instead of direct parent call for Drive ......................................................................
Patch Set 1: Verified+1
oVirt Jenkins CI Server has posted comments on this change.
Change subject: vdsm: user super instead of direct parent call for Drive ......................................................................
Patch Set 1:
Build Failed
http://jenkins.ovirt.org/job/vdsm_master_unit_tests_gerrit_el/11287/ : SUCCESS
http://jenkins.ovirt.org/job/vdsm_master_unit-tests_created/12229/ : SUCCESS
http://jenkins.ovirt.org/job/vdsm_master_pep8_gerrit/12076/ : SUCCESS
http://jenkins.ovirt.org/job/vdsm_master_virt_functional_tests_gerrit/1607/ : There was an infra issue, please contact infra@ovirt.org
Francesco Romani has posted comments on this change.
Change subject: vdsm: user super instead of direct parent call for Drive ......................................................................
Patch Set 1: Code-Review+1
oVirt Jenkins CI Server has posted comments on this change.
Change subject: use super instead of direct parent call for Drive ......................................................................
Patch Set 2:
Build Failed
http://jenkins.ovirt.org/job/vdsm_master_unit_tests_gerrit_el/11365/ : SUCCESS
http://jenkins.ovirt.org/job/vdsm_master_unit-tests_created/12309/ : SUCCESS
http://jenkins.ovirt.org/job/vdsm_master_pep8_gerrit/12154/ : SUCCESS
http://jenkins.ovirt.org/job/vdsm_master_virt_functional_tests_gerrit/1626/ : There was an infra issue, please contact infra@ovirt.org
Dan Kenigsberg has posted comments on this change.
Change subject: use super instead of direct parent call for Drive ......................................................................
Patch Set 2: Code-Review+2
Dan Kenigsberg has posted comments on this change.
Change subject: use super instead of direct parent call for Drive ......................................................................
Patch Set 2: Code-Review-1
Martin Polednik has posted comments on this change.
Change subject: use super instead of direct parent call for Drive ......................................................................
Patch Set 3: Verified+1
oVirt Jenkins CI Server has posted comments on this change.
Change subject: use super instead of direct parent call for Drive ......................................................................
Patch Set 3:
Build Failed
http://jenkins.ovirt.org/job/vdsm_master_unit-tests_created/12347/ : SUCCESS
http://jenkins.ovirt.org/job/vdsm_master_unit_tests_gerrit_el/11403/ : SUCCESS
http://jenkins.ovirt.org/job/vdsm_master_virt_functional_tests_gerrit/1639/ : There was an infra issue, please contact infra@ovirt.org
http://jenkins.ovirt.org/job/vdsm_master_pep8_gerrit/12192/ : SUCCESS
Francesco Romani has posted comments on this change.
Change subject: use super instead of direct parent call for Drive ......................................................................
Patch Set 3: Code-Review+1
Federico Simoncelli has posted comments on this change.
Change subject: use super instead of direct parent call for Drive ......................................................................
Patch Set 3: Code-Review+1
Dan Kenigsberg has posted comments on this change.
Change subject: use super instead of direct parent call for Drive ......................................................................
Patch Set 3: Code-Review+2
Dan Kenigsberg has submitted this change and it was merged.
Change subject: use super instead of direct parent call for Drive ......................................................................
use super instead of direct parent call for Drive
Super allows us to call parent class without having to specify its name, simplifying further moving of the class and possibly more inheritance.
Change-Id: I78151e3aa7116feddbfa7f8f9d204bdafe6f95e4 Signed-off-by: Martin Polednik mpolednik@redhat.com Reviewed-on: http://gerrit.ovirt.org/32398 Reviewed-by: Francesco Romani fromani@redhat.com Reviewed-by: Federico Simoncelli fsimonce@redhat.com Reviewed-by: Dan Kenigsberg danken@redhat.com --- M vdsm/virt/vm.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Federico Simoncelli: Looks good to me, but someone else must approve Dan Kenigsberg: Looks good to me, approved Francesco Romani: Looks good to me, but someone else must approve Martin Polednik: Verified
oVirt Jenkins CI Server has posted comments on this change.
Change subject: use super instead of direct parent call for Drive ......................................................................
Patch Set 4:
Build Successful
http://jenkins.ovirt.org/job/vdsm_master_create-rpms_merged/1840/ : SUCCESS
http://jenkins.ovirt.org/job/vdsm_master_create-rpms_merged_test_debug/181/ : SUCCESS
http://jenkins.ovirt.org/job/vdsm_master_verify-error-codes_merged/5814/ : SUCCESS
http://jenkins.ovirt.org/job/vdsm_master_unit-tests_merged/3973/ : SUCCESS
vdsm-patches@lists.fedorahosted.org