Tal Nisan has uploaded a new change for review. Change subject: Fix a reference before assignment bug in Hsm.py ......................................................................
Fix a reference before assignment bug in Hsm.py https://bugzilla.redhat.com/show_bug.cgi?id=1080106 Signed-off-by: Tal Nisan <[email protected]> Change-Id: I2c523a573dd824e85a44f2d531f52ee5f905fe85 --- M vdsm/storage/hsm.py 1 file changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/09/26109/1 diff --git a/vdsm/storage/hsm.py b/vdsm/storage/hsm.py index 2e9dbe5..979c2db 100644 --- a/vdsm/storage/hsm.py +++ b/vdsm/storage/hsm.py @@ -3251,6 +3251,8 @@ imgVolumesInfo.append(volInfo) if volUUID == leafUUID: leafInfo = volInfo + else: + leafInfo = None return {'path': leafPath, 'info': leafInfo, 'imgVolumesInfo': imgVolumesInfo} -- To view, visit http://gerrit.ovirt.org/26109 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2c523a573dd824e85a44f2d531f52ee5f905fe85 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Tal Nisan <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
