[node-patches] Change in ovirt-node[master]: Declare non-initialized variable in _create_manifests

fabiand at fedoraproject.org fabiand at fedoraproject.org
Mon May 27 09:20:45 UTC 2013


Fabian Deutsch has submitted this change and it was merged.

Change subject: Declare non-initialized variable in _create_manifests
......................................................................


Declare non-initialized variable in _create_manifests

Declare the variable pkg, that was being declared after conditional
statements. So, if the conditional statement was not confirmed, will be
raise UndeclaredReference. This fix avoid it.

Change-Id: I4c095c03c0f773f54ae263d57ce979b9a1b5e632
Signed-off-by: Ramon Medeiros <ramonn at linux.vnet.ibm.com>
---
M tools/edit-node
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Fabian Deutsch: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/15058
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4c095c03c0f773f54ae263d57ce979b9a1b5e632
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ramon Medeiros <ramonn at linux.vnet.ibm.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list