Change in vdsm[master]: vm: Simplify filter using list comprehension

danken at redhat.com danken at redhat.com
Tue Feb 16 06:42:05 UTC 2016


Dan Kenigsberg has submitted this change and it was merged.

Change subject: vm: Simplify filter using list comprehension
......................................................................


vm: Simplify filter using list comprehension

Replace unclear filter() with list comprehension and add the missing
test.

Change-Id: I38968cced1053592279fc8477525d8f4b76899af
Signed-off-by: Nir Soffer <nsoffer at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/53503
Continuous-Integration: Jenkins CI
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
Reviewed-by: Francesco Romani <fromani at redhat.com>
Reviewed-by: Milan Zamazal <mzamazal at redhat.com>
---
M tests/vmTests.py
M vdsm/virt/vm.py
2 files changed, 19 insertions(+), 3 deletions(-)

Approvals:
  Nir Soffer: Verified
  Jenkins CI: Passed CI tests
  Dan Kenigsberg: Looks good to me, but someone else must approve
  Francesco Romani: Looks good to me, approved
  Milan Zamazal: Looks good to me, but someone else must approve



-- 
To view, visit https://gerrit.ovirt.org/53503
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I38968cced1053592279fc8477525d8f4b76899af
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Milan Zamazal <mzamazal at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the vdsm-patches mailing list