Change in vdsm[master]: virt: vm: Fix of _filterSnappableDiskDevices indentation
mzamazal at redhat.com
mzamazal at redhat.com
Fri Feb 12 15:29:14 UTC 2016
Milan Zamazal has uploaded a new change for review.
Change subject: virt: vm: Fix of _filterSnappableDiskDevices indentation
......................................................................
virt: vm: Fix of _filterSnappableDiskDevices indentation
The function body is indented too much and since it's the first indented
code in vm.py it confuses some editors about proper indentation.
Change-Id: Ic575041ede12e9f416fbb0beef5ba924a12be574
Signed-off-by: Milan Zamazal <mzamazal at redhat.com>
---
M vdsm/virt/vm.py
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/78/53478/1
diff --git a/vdsm/virt/vm.py b/vdsm/virt/vm.py
index 84d54d5..0839006 100644
--- a/vdsm/virt/vm.py
+++ b/vdsm/virt/vm.py
@@ -95,9 +95,9 @@
def _filterSnappableDiskDevices(diskDeviceXmlElements):
- return filter(lambda x: not(x.getAttribute('device')) or
- x.getAttribute('device') in ['disk', 'lun'],
- diskDeviceXmlElements)
+ return filter(lambda x: not(x.getAttribute('device')) or
+ x.getAttribute('device') in ['disk', 'lun'],
+ diskDeviceXmlElements)
class VolumeError(RuntimeError):
--
To view, visit https://gerrit.ovirt.org/53478
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic575041ede12e9f416fbb0beef5ba924a12be574
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Milan Zamazal <mzamazal at redhat.com>
More information about the vdsm-patches
mailing list