Adam Litke has submitted this change and it was merged.

Change subject: Improve 'and' and 'or' operators to accept unlimited number of 
arguments
......................................................................


Improve 'and' and 'or' operators to accept unlimited number of arguments

It was not possible to use (and True True True) or (or True False True)
and this patch makes it work to make it simpler to write complicated
if statements.

Signed-off-by: Martin Sivak <[email protected]>
Change-Id: Ie594137084b67790ea290615c65df493803411f7
Reviewed-on: https://gerrit.ovirt.org/42041
Reviewed-by: Adam Litke <[email protected]>
Reviewed-by: Jenkins CI
Tested-by: Jenkins CI
---
M mom/Policy/Parser.py
M tests/ParserTests.py
2 files changed, 22 insertions(+), 4 deletions(-)

Approvals:
  Adam Litke: Looks good to me, approved
  Martin Sivák: Verified
  Jenkins CI: Verified; Looks good to me, but someone else must approve



-- 
To view, visit https://gerrit.ovirt.org/42041
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie594137084b67790ea290615c65df493803411f7
Gerrit-PatchSet: 4
Gerrit-Project: mom
Gerrit-Branch: master
Gerrit-Owner: Martin Sivák <[email protected]>
Gerrit-Reviewer: Adam Litke <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <[email protected]>
Gerrit-Reviewer: [email protected]
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to