Rulesets in OR mode match everything. The original code has the FOR loop return
True at the end, even if none of the rules matched. This works fine for AND
mode because if a single rule does not match, the loop exits and returns False
immediately. Completing the loop in AND mode means all the rules matched. In OR
mode, the loop exits with True when the first match is found. If no matches are
found by the end of the loop, we need to return False by default instead.
Original issue reported on code.google.com by a...@zweimiller.com on 19 Feb 2014 at 4:22
Original issue reported on code.google.com by
a...@zweimiller.com
on 19 Feb 2014 at 4:22Attachments: