[node-patches] Change in ovirt-node[master]: utils: Make parse_bool a bit more strict

fabiand at fedoraproject.org fabiand at fedoraproject.org
Fri Aug 30 07:06:53 UTC 2013


Fabian Deutsch has submitted this change and it was merged.

Change subject: utils: Make parse_bool a bit more strict
......................................................................


utils: Make parse_bool a bit more strict

Oly allow definite True values: y, 1, True, true, Yes, yes.
Previously also strings like Yes? would be interpreted as true, but
that's a bit to liberal.

Change-Id: Ie5524550f5444752840f07aac4c3d8d3905750ac
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/utils/__init__.py
1 file changed, 7 insertions(+), 5 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie5524550f5444752840f07aac4c3d8d3905750ac
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Joey Boggs <jboggs at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the node-patches mailing list