Change in gerrit-admin[master]: Fix is_draft (bool) value

Shlomo Ben David has submitted this change and it was merged. Change subject: Fix is_draft (bool) value ...................................................................... Fix is_draft (bool) value bool(x) function isn't converts 'True' | 'False' strings into bool (True | False) values, it only returns True if the passed value is True, False otherwise. I've replaced it with ast.literal_eval() function that converts and returns the required bool values. Change-Id: I6c17f14465fa9c4cc741f136abc3836ffeaea932 Fixes: OVIRT-797 Signed-off-by: Shlomi Ben-David <sbendavi@redhat.com> --- M hooks/custom_hooks/update_tracker 1 file changed, 2 insertions(+), 1 deletion(-) Approvals: Shlomo Ben David: Verified; Looks good to me, approved Gil Shinar: Looks good to me, but someone else must approve Jenkins CI: Passed CI tests -- To view, visit https://gerrit.ovirt.org/65876 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I6c17f14465fa9c4cc741f136abc3836ffeaea932 Gerrit-PatchSet: 1 Gerrit-Project: gerrit-admin Gerrit-Branch: master Gerrit-Owner: Shlomo Ben David <sbendavi@redhat.com> Gerrit-Reviewer: Eyal Edri <eedri@redhat.com> Gerrit-Reviewer: Gil Shinar <gshinar@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Shlomo Ben David <sbendavi@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
sbendavi@redhat.com